diff options
Diffstat (limited to 'Thronefall_v1.0/Decompile/InGameResignUIHelper.cs')
-rw-r--r-- | Thronefall_v1.0/Decompile/InGameResignUIHelper.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Decompile/InGameResignUIHelper.cs b/Thronefall_v1.0/Decompile/InGameResignUIHelper.cs new file mode 100644 index 0000000..6f85c9e --- /dev/null +++ b/Thronefall_v1.0/Decompile/InGameResignUIHelper.cs @@ -0,0 +1,10 @@ +using UnityEngine; + +public class InGameResignUIHelper : MonoBehaviour +{ + public void Resign() + { + UIFrameManager.instance.CloseAllFrames(); + LocalGamestate.Instance.SetState(LocalGamestate.State.AfterMatchDefeat, forceTransition: false, immediate: true); + } +} |