public void Enter() { if (loopLock.Unlocked) { using (loopLock.Lock()) { var data = Shortcuts.users.current.gameNodesData_PerUser.TryGet(ClassTag); if (data.IsEmpty == false) { this.DecodeFull(data); } data = parentNode.parentBook.gameNodesConfigs.TryGet(ClassTag); if (data.IsEmpty == false) { this.DecodeFull(data); } else { Debug.Log("No per book data for. {0}".F(ClassTag)); } VisualLayer.FromNodeToGame(this); results.Apply(); OnEnter(); } } }
//public TaggedTypesCfg AllTypes => all; #endregion #region Enter & Exit public override bool OnMouseOver(bool click) { if (click && parentNode != null) { VisualLayer.FromNodeToGame(this); return(true); } return(false); }
public override bool InspectInList(IList list, int ind, ref int edited) { IndexForPEGI.ToString().write(20); bool changed = this.inspect_Name(); if (icon.Play.Click("Enter Game Node")) { VisualLayer.FromNodeToGame(this); } return(changed); }