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