protected override void Awake() { base.Awake(); if (attackCollider != null) { attackColliderScript = attackCollider.gameObject.GetComponent <EnemyAttackCollider>(); } }
protected override void Awake() { base.Awake(); if (attackCollider != null) { attackColliderScript = attackCollider.gameObject.GetComponent <EnemyAttackCollider>(); } //centerPosition = centerPoint.position; }
protected override void Awake() { base.Awake(); if (meleeAttackCollider != null) { attackColliderScript = meleeAttackCollider.gameObject.GetComponent <EnemyAttackCollider>(); } if (rangedAttackQueue.Length % 3 != 0) { Debug.LogError("The length of rangedAttackQueue is not multiple of 3."); } }