コード例 #1
0
        /// <summary>
        ///     Get Texture from texture store by name
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        private async Task <Texture2D> ResolveTexture(string name)
        {
            await _textureStore.WaitForFinish();

            return((await _textureStore[name])?.Texture);
        }