Пример #1
0
 // Use this for initialization
 void Awake()
 {
     myRigidbody = GetComponent<Rigidbody2D>();
     myTransform = GetComponent<Transform>();
     myController = GetComponent<FireBeetleController>();
 }
Пример #2
0
 public FireBeetleFSM(FireBeetleController controller)
 {
     this.controller = controller;
 }