Beispiel #1
0
 public static void ThrowObject(BaseObject baseObject, eThrowEventType eventType, stGetCustomData stThrowData = default(stGetCustomData))
 {
     if (baseObject != null)
     {
         baseObject.ThrowEvent(eventType, stThrowData);
     }
 }
Beispiel #2
0
 public static void ThrowAll(eThrowEventType eventType, stGetCustomData stThrowData = default(stGetCustomData))
 {
     BaseObject[] arrayObject = FindObjectsOfType <BaseObject>();
     foreach (BaseObject baseObject in arrayObject)
     {
         baseObject.ThrowEvent(eventType, stThrowData);
     }
 }
Beispiel #3
0
    protected override void ThrowEvent(eThrowEventType eventType, stGetCustomData stThrowData = default(stGetCustomData))
    {
        switch (eventType)
        {
        case eThrowEventType.E_THROW_EVENT_TYPE_MANAGER_PAUSE:
            OnPauseManager();
            break;

        case eThrowEventType.E_THROW_EVENT_TYPE_MANAGER_CLEAN:
            OnCleanManager();
            break;

        case eThrowEventType.E_THROW_EVENT_TYPE_MANAGER_RESET:
            OnResetManager();
            break;

        case eThrowEventType.E_THROW_EVENT_TYPE_MANAGER_RELEASE:
            OnReleaseManager();
            break;
        }
    }
Beispiel #4
0
 virtual protected void ThrowEvent(eThrowEventType eventType, stGetCustomData stThrowData = default(stGetCustomData))
 {
 }