Inheritance: MonoBehaviour
Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     rotatorBehaviour = rotator.GetComponent <RotateBehaviour>();
     walkingBehaviour = GetComponent <WalkingBehaviour>();
 }
Exemplo n.º 2
0
 void Update()
 {
     RotateBehaviour.update(gameObject);
 }