예제 #1
0
 protected override void Awake()
 {
     base.Awake();
     _attackers = GetComponents <IAttacker>().ToList();
     _collider  = GetComponent <ColliderBehaviour>();
     _collider.OnAddCollider    += OnAddCollider;
     _collider.OnRemoveCollider += OnRemoveCollider;
 }
예제 #2
0
 protected override void Awake()
 {
     base.Awake();
     _collider = GetComponent <ColliderBehaviour>();
     _collider.OnAddCollider    += OnAddCollider;
     _collider.OnRemoveCollider += OnRemoveCollider;
     Entity.OnUpdateTeam        += OnUpdateTeam;
 }