public override void Init(FramedRadioButton.FrameType frameType, string text, int buttonID, object userData) { base.Init(frameType, text, buttonID, userData); Data data = userData as Data; if (data == null) { Debug.LogWarning(string.Format("StoreRadioButton.Init(): storeRadioButtonData is null (frameType={0}, text={1}, buttonID={2)", frameType, text, buttonID)); } else if (data.m_bundle != null) { this.InitMoneyOption(data.m_bundle); } else if (data.m_noGTAPPTransactionData != null) { this.InitGoldOptionNoGTAPP(data.m_noGTAPPTransactionData); } else { Debug.LogWarning(string.Format("StoreRadioButton.Init(): storeRadioButtonData has neither gold price nor bundle data! (frameType={0}, text={1}, buttonID={2)", frameType, text, buttonID)); } }
public void Init(FramedRadioButton.FrameType frameType, string text, int buttonID, object userData) { object[] objArray1 = new object[] { frameType, text, buttonID, userData }; base.method_8("Init", objArray1); }