示例#1
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;
     }
 }