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