private void TyrantGetComponents() { Content_Type = this.GetComponentInChild<Tyrant.ComponentsForUnity.DataBinding.ItemsContainerForUnity>("Scroll View/Viewport/Content"); DialogPanel_Rows = this.GetComponentInChild<UnityEngine.RectTransform>("Dialog Panel"); Content_Rows = this.GetComponentInChild<Tyrant.ComponentsForUnity.DataBinding.ItemsContainerForUnity>("Dialog Panel/Main Content/Scroll View/Viewport/Content"); Loading_Process = this.GetComponentInChild<UnityEngine.UI.Slider>("Loading Process"); DialogPanel_RowDetail = this.GetComponentInChild<UnityEngine.RectTransform>("Dialog Panel (1)"); Content_RowDetail = this.GetComponentInChild<Tyrant.ComponentsForUnity.DataBinding.ItemsContainerForUnity>("Dialog Panel (1)/Main Content/Scroll View/Viewport/Content"); SystemInfoBtn = this.GetComponentInChild<UnityEngine.UI.Button>("SystemInfo"); DialogPanel_SysInfo = this.GetComponentInChild<UnityEngine.RectTransform>("Dialog Panel (2)"); Content_SysInfo = this.GetComponentInChild<UnityEngine.RectTransform>("Dialog Panel (2)/Main Content/Scroll View/Viewport/Content"); QuitBtn = this.GetComponentInChild<UnityEngine.UI.Button>("QuitBtn"); }
private void OnDestroyComponents() { Content_Type = null; DialogPanel_Rows = null; Content_Rows = null; Loading_Process = null; DialogPanel_RowDetail = null; Content_RowDetail = null; SystemInfoBtn = null; DialogPanel_SysInfo = null; Content_SysInfo = null; QuitBtn = null; }