void OnDestroy() { Damageable.onDamageableDied -= UnitDiedAction; if (isHovered) { Cursors.SetDefaultCursor(); } }
public void OnMouseExit() { isHovered = false; if (unitUnhoveredEvent != null) { unitUnhoveredEvent.Invoke(this); } Cursors.SetDefaultCursor(); }
public void OnMouseExit() { Cursors.SetDefaultCursor(); }
public void ReturnToLobby() { Cursors.SetDefaultCursor(); SceneManager.LoadScene("Lobby"); }