예제 #1
0
 void Awake()
 {
     enemyEventController = gameObject.GetComponent <CharacterEventController>();
     enemyEventController.receiveDamage += OnReceiveHit;
 }
예제 #2
0
 void Awake()
 {
     enemyEventController = gameObject.GetComponent <CharacterEventController>();
 }
예제 #3
0
    void Awake()
    {
        enemyEventController = gameObject.GetComponent <CharacterEventController>();

        enemyEventController.receiveStagger += OnReceiveStagger;
    }