internal void PushSubKindByName(string name, GameObjectList list) { if ((list != null) && (list.Count != 0)) { if (this.SubKinds.Count == 0) { this.RightClickClose = false; this.RootListKind.Kind = this.listKindToDisplay; this.RootListKind.List = this.gameObjectList; } this.SetObjectList(list); this.listKindToDisplay = this.GetListKindByName(name); if (this.listKindToDisplay != null) { this.ReCalculate(); SubKind item = new SubKind(); item.Kind = this.listKindToDisplay; item.List = list; this.SubKinds.Push(item); } } }
internal void PushSubKindByName(string name, GameObjectList list) { if ((list != null) && (list.Count != 0)) { if (this.SubKinds.Count == 0) { this.RightClickClose = false; this.RootListKind.Kind = this.listKindToDisplay; this.RootListKind.List = this.gameObjectList; } this.SetObjectList(list); this.listKindToDisplay = this.GetListKindByName(name); if (this.listKindToDisplay != null) { this.ReCalculate(); SubKind item = new SubKind { Kind = this.listKindToDisplay, List = list }; this.SubKinds.Push(item); } } }