protected override void OnReset() { if (currentInstance != null) { currentInstance.Stop(); } }
public override void OnGraphStoped() { if (currentInstance != null) { currentInstance.Stop(); } }
protected override void OnExit() { if (currentInstance != null && (currentInstance.isRunning || currentInstance.isPaused)) { currentInstance.Stop(); } }
void OnExit() { if (currentInstance != null && (currentInstance.isRunning || currentInstance.isPaused)) { //UnRegisterUpdate(); currentInstance.Stop(); } }