private GodPanel CreateGodPanel() { GodPanel godPanel = Object.Instantiate <GodPanel>(m_godPanelPrefab); godPanel.get_gameObject().SetActive(true); return(godPanel); }
private unsafe void Start() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) //IL_0016: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Expected O, but got Unknown m_godList.elementWidth = (int)((IntPtr)(void *)m_godPanelPrefab.get_transform().get_sizeDelta()).x; m_godPanelPrefab.get_gameObject().SetActive(false); m_selectButton.get_onClick().AddListener(new UnityAction((object)this, (IntPtr)(void *) /*OpCode not supported: LdFtn*/)); GodPanelList godList = m_godList; godList.onElementSelected = (Action <int>)Delegate.Combine(godList.onElementSelected, new Action <int>(OnGodSelected)); }