internal override void LoadSLUIObject(SLUIManager manager, Object original) { // invoke base method base.LoadSLUIObject(manager, original); // get original Original = (GameObject)original; // collect components rectTransform = AddComponent <SLUIRectTransform>(); }
private void Awake() { // lul Screen.fullScreen = false; SLUIWorker.LookForCustomTypes(); Manager = SLUIManager.CreateNew(SLUIName, Root, Environment.CurrentDirectory + "\\" + WorkDirectory); Manager.AddFiles(LuaFiles); Manager.Reload(); }