void TryCall(SceneTransitionDelegate callback) { try { if (callback != null) { callback(nextScene); } } catch (System.Exception e) { Debug.LogException(e); } }
void TryCall(SceneTransitionDelegate pDelegate) { try { if (pDelegate != null) { pDelegate(mNextSceneIdx); } }catch (System.Exception e) { Debug.LogException(e); } }