Example #1
0
 private void ChangeMode(InteractModeEdit mode)
 {
     _currentMode.enabled = (false);
     _currentMode         = mode;
     _currentMode.enabled = true;
 }
Example #2
0
 // Start is called before the first frame update
 void Awake()
 {
     instance     = this;
     _currentMode = defaultMode;
 }