Exemplo n.º 1
0
 private void OnEnable()
 {
     if (_continuous)
     {
         ProximityCheckerManager.AddChecker(this);
     }
 }
Exemplo n.º 2
0
 private void OnDisable()
 {
     if (_continuous)
     {
         ProximityCheckerManager.RemoveChecker(this);
     }
 }
 private void Awake()
 {
     _instance = this;
 }