Example #1
0
        private static Texture2D LoadTexture(string path, string name)
        {
            //AssetDatabase.LoadAssetAtPath(

            return(SF_Resources.Load <Texture2D>(path + name));

            //return (Texture2D)Resources.Load(path + name, typeof(Texture2D) ); // TODO: This has to change into something that's not using resources
        }