Exemple #1
0
 void Init()
 {
     _instance      = this;
     _inputHandler  = InputHandler.Instance;
     _recorderState = _recorderIdleState;//by default
     _timeStamp     = 0;
 }
Exemple #2
0
 void OnDestoroy()
 {
     _instance = null;
 }