Example #1
0
 private void Start()
 {
     Instance       = this;
     jumpInProgress = false;
     GameEvents.onGameStateSaved.Add(OnGameStateSaved);
     jumpInProgress = false;
     DontDestroyOnLoad(this);
 }
Example #2
0
 private void Awake()
 {
     Instance = this;
 }
Example #3
0
 private void Awake()
 {
     Instance = this;
     DontDestroyOnLoad(this);
 }