Beispiel #1
0
    public void TriggerEvent(RoomWall designator, Vector3 velocity)
    {
        RoomUnityEvent evt = null;

        if (m_eventDatabase.TryGetValue(designator, out evt))
        {
            evt.Invoke(designator, velocity);
        }
    }
Beispiel #2
0
 protected virtual void OnFinished()
 {
     FinishedEvent.Invoke(this);
 }
Beispiel #3
0
 protected virtual void OnInitialize()
 {
     InitializeEvent.Invoke(this);
 }