private void Awake() { sInstance = this; this.m_Counter = base.Find <UILabel>("Counter"); this.m_Counter.Hide(); this.m_Chirps = base.Find <UIPanel>("Chirps"); this.m_Container = base.Find <UIScrollablePanel>("Container"); this.m_DefaultSize = base.component.size; base.component.size = new Vector2(38f, 45f); this.m_Chirps.Hide(); new GameObject("ChirperBehaviourContainer", new Type[] { typeof(ChirperBehaviourContainer) }); DebugOutputPanel.AddMessage(PluginManager.MessageType.Message, "Custom panel enabled"); }
private void OnDestroy() { sInstance = null; }