Exemplo n.º 1
0
 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;
 }
Exemplo n.º 3
0
 new void Start()
 {
     base.Start();
     startingPosition = transform.localPosition;
     mySelector       = GetComponent <GameWorldSelector>();
 }
Exemplo n.º 4
0
 public void SetCurrentSelection(GameWorldSelector selection)
 {
     currentSelection = selection;
 }