- Home /
Duplicate Question
How to control Another Object by using other one
I was remaking my flash game in 3D version using unity. I learnt a bit AS3 but then I switched to unity. In AS3 it was easy to control a object from another object but I started having problem in unity. I want to control another object like removing it or disabling its rrndrr . I am using JavaScript can anyone help
Answer by tanoshimi · Nov 29, 2014 at 03:32 PM
Fortunately, it's completely trivial to do in Unity too. Did you actually try reading any documentation when switching from AS3, or were you just going to guess?
http://unity3d.com/learn/tutorials/modules/beginner/scripting/getcomponent
Follow this Question
Related Questions
Moving an object back and forth with mouse click 0 Answers
Put texture on game object from file. 1 Answer
How to make an event happen after an object is collided with 2 Answers
highlight item in game 1 Answer
calling animation on gameobject 2 Answers