Пример #1
0
 void OnEnable()
 {
     Instance = this;
 }
Пример #2
0
 private void RegisterForMouseEvents()
 {
     rpgCursor = Camera.main.GetComponent <RPGCursor>();
     rpgCursor.onMouseOverEnemy += OnMouseOverEnemy;
     rpgCursor.onMouseOverPotentiallyWalkable += OnMouseOverPotentiallyWalkable;
 }