Пример #1
0
 private void OnDisable()
 {
     if (!Object.op_Equality((Object)VirtualStick.Instance, (Object)this))
     {
         return;
     }
     VirtualStick.Instance = (VirtualStick)null;
 }
Пример #2
0
 private void OnEnable()
 {
     if (!Object.op_Equality((Object)VirtualStick.Instance, (Object)null))
     {
         return;
     }
     VirtualStick.Instance = this;
 }