Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- // Интерфейс для реалицации в классах получателей событий
- public interface IListener
- {
- void OnEvent(EVENT_TYPE Event_Type, Component Sender, Object Param = null);
- }
- // Перечесление определяет все возможные события
- // Дополнительные события должы добавляться сюда
- public enum EVENT_TYPE
- {
- GAME_INIT,
- GAME_END,
- AMMO_EMPTY,
- HEALTH_CHANGE,
- DEAD
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement