Пример #1
0
        public WWWManager()
        {
            go = new GameObject();

            go.name = "WWWManagerGameObject";

            GameObject.DontDestroyOnLoad(go);

            script = go.AddComponent <WWWManagerScript>();
        }
Пример #2
0
        public WWWManager()
        {
            go = new GameObject();

            go.name = "WWWManagerGameObject";

            GameObject.DontDestroyOnLoad(go);

            script = go.AddComponent <WWWManagerScript>();

            script.SetLoadOverCallBack(OneLoadOK);
        }