private void OnEnable() { m_DrawHeader = typeof(Editor).GetMethod("DrawHeaderGUI", BindingFlags.NonPublic | BindingFlags.Static, null, new Type[] { typeof(Editor), typeof(string) }, null); m_CompileButton = new CompileButton(); m_CompileButton.OnEnable(); }
public override void OnEnable() { base.OnEnable(); m_Button = new CompileButton(); m_Button.OnEnable(); }