public override void EndSelection() { if (currentSelection != null) { currentSelection.EndCurrentSelection(); currentSelection = null; } currentObjectInteractingWith = null; GetCombatController().SetCurrentEnemyTarget(null); }
public void InitialiseMe(Sprite _portrait, GameWorldSelector _selector) { portraitImg.sprite = _portrait; gameWorldSelector = _selector; }
new void Start() { base.Start(); startingPosition = transform.localPosition; mySelector = GetComponent <GameWorldSelector>(); }
public void SetCurrentSelection(GameWorldSelector selection) { currentSelection = selection; }