public override void Initalize() { base.Initalize(); if (gameObject == null) { gameObject = ResourceLoad.Load(GameUIRootName); gameObject.name = "UGUIRoot"; tranform = gameObject.transform; eventSystem = Utility.GameUtility.FindDeepChild <EventSystem>(gameObject, "EventSystem"); eventSystem.enabled = true; ResetNode(tranform); InitalizeCanvas(); GameObject.DontDestroyOnLoad(gameObject); } InitalizePreLoadUI(); }