void Start() { if (target != null) { effects = target.getEffectListObjects(); displayList(); setup(); } }
public void setList(ObjectActor target) { unsetList(); this.target = target; effects = target.getEffectListObjects(); foreach (GameObject o in effects) { setIconSize(o); } displayList(); setup(); }