Example #1
0
    override public void OnEnter()
    {
        base.OnEnter();
        eventUI_ = UI.GetComponent <EventUI> ();

        GameEvent gameEvent = GameEventManager.Instance.SpawnEvent();

        eventUI_.RenderEvent(gameEvent);
    }
Example #2
0
    public void NextEvent()
    {
        GameEvent gameEvent = GameEventManager.Instance.SpawnEvent();

        eventUI_.RenderEvent(gameEvent);
    }