// Use this for initialization void Start() { time = Time.time + Timetosetstate; controller = this.GetComponent <Red_en_states> (); enemyHealth = this.GetComponent <EnemyHealth> (); pursuingpoints = false; }
// Use this for initialization void Start() { animator = GetComponent <Animator> (); controller = GetComponent <Red_en_states> (); transform = GetComponent <Transform> (); }
// Use this for initialization void Start() { _timetoshot = Time.time; _encontroller = this.GetComponent <Red_en_states> (); adudiosource = this.GetComponent <AudioSource> (); var MyColiders = this.GetComponents <Collider2D> (); }