Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     oriented     = GetComponent <Oriented>();
     positionable = GetComponent <Positionable>();
     oriented.AddAnimationSet(MOVE_ANIMATION, movingAnimationSet);
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     positionable = GetComponent <Positionable>();
     oriented     = GetComponent <Oriented>();
 }