示例#1
0
 private void OnDestroy()
 {
     if (BehaviourFacade.Exists())
     {
         BehaviourFacade.s_instance.CurrentScene -= OnChange;
     }
 }
示例#2
0
 private void OnDestroy()
 {
     if (BehaviourFacade.Exists())
     {
         BehaviourFacade.s_instance.Floats[(int)type] -= OnChange;
     }
 }
示例#3
0
 private void OnDestroy()
 {
     if (BehaviourFacade.Exists())
     {
         BehaviourFacade.s_instance.Floats[(int)OFloatIdentifier.Ink] -= CheckCondition;
         BehaviourFacade.s_instance.CurrentScene -= CheckStartGame;
     }
 }
示例#4
0
 private void OnDestroy()
 {
     if (InputAdapter.Exists())
     {
         InputAdapter.s_instance.startDrawing -= StartDrawing;
         InputAdapter.s_instance.currentPos   -= OnChange;
     }
     if (BehaviourFacade.Exists())
     {
         BehaviourFacade.s_instance.CurrentScene -= ChangeSzene;
     }
 }