Пример #1
0
        private void Start()
        {
            var testTexture = mResourcesLoader.LoadSync <Texture2D>("TestTexture");

            // do sth

            testTexture = mResourcesLoader.LoadSync <Texture2D>("TestTexture");
            // do sth
        }
Пример #2
0
        private void Start()
        {
            var testTexture = mResourcesLoader.LoadSync <Texture2D>("TestTexture");

            // do sth
            Debug.Log(testTexture);
            testTexture = mResourcesLoader.LoadSync <Texture2D>("TestTexture");
            // do sth
            Debug.Log(testTexture);
        }