示例#1
0
        /// <summary>
        /// Loads the texture dictionary from a file.
        /// </summary>
        public void Load(string fileName)
        {
            var resource = new ResourceFile_GTA5_pc <Drawable_GTA5_pc>();

            resource.Load(fileName);

            drawable = resource.ResourceData;
        }
示例#2
0
        public void Load(Stream stream)
        {
            var resource = new ResourceFile_GTA5_pc <Drawable_GTA5_pc>();

            resource.Load(stream);

            drawable = resource.ResourceData;
        }
 public DrawableWrapper_GTA5_pc(Drawable_GTA5_pc drawable)
 {
     this.drawable = drawable;
 }