Add tutorial splash screen

This commit is contained in:
BuyMyMojo 2023-03-04 08:49:27 +11:00
parent 701ef5a2ec
commit 60ee4185e2
4 changed files with 3342 additions and 8 deletions

View file

@ -14,6 +14,7 @@ public class GameInput : MonoBehaviour
public event EventHandler OnInteractAction;
public event EventHandler OnInteractAlteranteAction;
public event EventHandler OnPauseAction;
public event EventHandler OnKeyRebind;
public enum Bindings
{
@ -172,6 +173,8 @@ public class GameInput : MonoBehaviour
string playerOveridesJson = playerInputActions.SaveBindingOverridesAsJson();
PlayerPrefs.SetString(PLAYER_PREFS_BINDINGS, playerOveridesJson);
PlayerPrefs.Save();
OnKeyRebind?.Invoke(this, EventArgs.Empty);
}).Start();
}