Exemplo n.º 1
0
 protected virtual void OnEnable()
 {
     _baseInstance = this;
     if (api != null)
     {
         api.OnChangePosition += OnChangePosition;
     }
 }
 protected virtual void OnEnable()
 {
     _baseInstance = this;
     map           = GetComponent <OnlineMaps>();
     if (map != null)
     {
         map.OnChangePosition += OnChangePosition;
     }
 }