示例#1
0
        void OnPostLoadProcess(Object o)
        {
            var ui = Instantiate(o) as GameObject;

            ui.SetActive(true);
            ui.name = o.name;

            ShaderHelper.SetupShader(ui);

            AttachToCanvas(ui);

            _uis.Add(ui.name, ui);
            RaiseEvent(ui);
        }