Esempio n. 1
0
 protected virtual void Awake()
 {
     if (!controller)
     {
         controller = GetComponent <TDS_FreakController>();
     }
 }
Esempio n. 2
0
 // Use this to set the player
 public void SetPlayer(TDS_FreakController _player)
 {
     target          = _player.transform;
     playerRigidbody = _player.gameObject.GetComponent <Rigidbody>();
 }