void OnClick() { BossSlot bS = transform.parent.GetComponent <BossSlot>(); BossHolder.instance.boss = bS.prefab; SaveController.instance.startNewSave(); Application.LoadLevel("s1"); }
void onHoldDown() { BossSlot bS = transform.parent.GetComponent <BossSlot>(); bS.prefab.GetComponent <M_Boss>().showTooltip(); }