Ejemplo n.º 1
0
 public void SetBuffUI(Sprite sprite, UnitCtrl owner)
 {
     rular.sprite = sprite;
     this.owner   = owner;
     uIManager    = BattleUIManager.Instance;
     transform.SetParent(owner.transform, false);
     SetAbnormalIcons(owner, eStateIconType.NONE, false);
     owner.OnChangeState += SetAbnormalIcons;
     StartCoroutine(ShowPosition());
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     Instance = this;
 }