Search Unity

Making the camera and game box move forward

Discussion in 'Visual Scripting' started by Deleted User, Feb 18, 2021.

  1. Deleted User

    Deleted User

    Guest

    Hello, I'm making a game and I want my Box collider 2D, the camera and my object to move right together. I', unable to script it and need some assistance
     
  2. ericb_unity

    ericb_unity

    Unity Technologies

    Joined:
    Nov 24, 2017
    Posts:
    167
    Do you absolutely need the object to move together by script.

    You can move only one of the object and put the box collider and the camera inside of your object in the hierarchy.

    MyObj
    MyCamera
    MyCollider
     
  3. Deleted User

    Deleted User

    Guest

    Gotcha, Thanks