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