public void FailExit() { //Debug.Log("Exiting Game Node Without Saving"); if (loopLock.Unlocked) { using (loopLock.Lock()) { OnExit(); VisualLayer.FromGameToNode(true); } } }
public void Exit() { if (loopLock.Unlocked) { using (loopLock.Lock()) { OnExit(); Shortcuts.users.current.gameNodesData_PerUser[ClassTag] = Encode_PerUserData().CfgData; parentNode.parentBook.gameNodesConfigs[ClassTag] = Encode_PerBookStaticData().CfgData; VisualLayer.FromGameToNode(); _onExitResults.Apply(); } } }