Beispiel #1
0
        internal virtual void Load()
        {
            if (!File.Exists(url))
            {
                return;
            }

            if (Assets.development && Assets.assetLoader != null)
            {
                asset = Assets.assetLoader(url, assetType);
            }
            if (asset == null)
            {
                error = "error! file not exist:" + url;
            }
        }