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