Beispiel #1
0
    private void Start()
    {
        unitSelection = FindObjectOfType <UnitSelection>();
        handler       = FindObjectOfType <RunHandler>();

        if (unit == handler.curHero)
        {
            unitSelection.CreateDisplay(unit, this.GetComponent <Button>());
        }
    }
Beispiel #2
0
 public void ShowInfo()
 {
     unitSelection.CreateDisplay(unit, this.GetComponent <Button>());
 }