public void AddBtn(BtnHandler handler) { handler.transform.parent = parent; handler.ID = currentID; currentID++; plat.AddButton(handler); }
protected override void SelfExcute(PlatHandler plat) { btn.ID = btnID; plat.AddButton(btn); }