isNull() 개인적인 메소드

private isNull ( object obj, string message ) : void
obj object
message string
리턴 void
예제 #1
0
 /// <summary>
 /// temporarily runs SceneTransition allowing one Scene to transition to another smoothly with custom effects.
 /// </summary>
 /// <param name="sceneTransition">Scene transition.</param>
 public static T startSceneTransition <T>(T sceneTransition) where T : SceneTransition
 {
     Assert.isNull(_instance._sceneTransition, "You cannot start a new SceneTransition until the previous one has completed");
     _instance._sceneTransition = sceneTransition;
     return(sceneTransition);
 }
예제 #2
0
 /// <summary>
 /// temporarily runs SceneTransition allowing one Scene to transition to another smoothly with custom effects.
 /// </summary>
 /// <param name="sceneTransition">Scene transition.</param>
 public static void startSceneTransition(SceneTransition sceneTransition)
 {
     Assert.isNull(_instance._sceneTransition, "You cannot start a new SceneTransition until the previous one has completed");
     _instance._sceneTransition = sceneTransition;
 }