Ejemplo n.º 1
0
 void BtnSetUp(MessageBoxRule rule)
 {
     btnEmpty.gameObject.SetActive(rule.useEmpty);
     btnNameChange.gameObject.SetActive(rule.useNameChange);
     btnLanguage.gameObject.SetActive(rule.useLanguage);
     btnTitle.gameObject.SetActive(rule.useTitle);
     btnBuy.gameObject.SetActive(rule.useBuy);
     btnUse.gameObject.SetActive(rule.useUse);
     btnClose.gameObject.SetActive(rule.useClose);
 }
Ejemplo n.º 2
0
 public void PopUp(MessageBoxRule rule, int ruleListIndex)
 {
     PopUp(rule.isBoxUse, rule.isInnerBoxUse, rule.isNpcSpaceUse, ruleListIndex);
 }