void Awake() { moveRangeCollider = transform.Find("MoveRangeCollider").gameObject.GetComponent<MoveRangeCollider>(); unitHealth = GetComponent<UnitHealth>(); inAttackRange = false; inRangeList = new List<GameObject>(); }
void Awake() { moveRangeCollider = transform.Find("MoveRangeCollider").gameObject.GetComponent <MoveRangeCollider>(); unitHealth = GetComponent <UnitHealth>(); inAttackRange = false; inRangeList = new List <GameObject>(); }