private void AppendTo(ActionEntry thisEntry, ActionEntryType type) { UnityEngine.Debug.Log("append to: " + thisEntry.Id); var nextEntry = new ActionEntry(); nextEntry.EntryType = type; container.AppendEntryTo(nextEntry, thisEntry); }
private void InsertTo(ActionEntry parentEntry, ActionEntryType type) { UnityEngine.Debug.Log("insert to: " + parentEntry.Id); var childEntry = new ActionEntry(); childEntry.EntryType = type; container.InsertChildEntryTo(childEntry, parentEntry); }
/// <summary> /// Button Actions /// </summary> private void AddRootEntry(ActionEntryType type) { var entry = new ActionEntry(); entry.EntryType = type; container.AddEntry(entry); UnityEngine.Debug.Log("count: " + container.EntryDict.Count); UnityEngine.Debug.Log("Add root to: " + entry.Id); }