Пример #1
0
 private void OnDestroy()
 {
     if (gameControls != null)
     {
         gameControls.Disable();
         gameControls.Dispose();
     }
 }