Exemplo n.º 1
0
 public void InsertBlock(int index, Block eventAction, EventActionData.EventType eventType = EventActionData.EventType.Event)
 {
     eventList.Insert(index, new EventActionData(eventAction, eventType));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create new EventData with one event
 /// </summary>
 /// <param name="block"></param>
 /// <param name="type"></param>
 public EventData(Block block, EventActionData.EventType type)
 {
     eventList.Add(new EventActionData(block, type));
 }
Exemplo n.º 3
0
        public int editIndex;        //for editor

        public void AddBlock(Block eventAction, EventActionData.EventType eventType = EventActionData.EventType.Event)
        {
            eventList.Add(new EventActionData(eventAction, eventType));
        }