I was trying to use (GetComponent) in C# but my game object has 2 components from the same type (Wheel Joint 2D) so please how can distinguish between them?
i can’t use the drag and drop thing because i use instantiate function.
well getting the name of the wheel joint 2D is one way the other that i can think of is with tags either give them seperate names or tags and search for that with GetComponent
You need to log in to upload images from your computer.
Admin has disabled this function.
You can also sign in by :