Esempio n. 1
0
 internal void RefreshFileInformation()
 {
     filePath        = AssetDatabase.GUIDToAssetPath(guid);
     extension       = Path.GetExtension(filePath);
     fileName        = Path.GetFileName(filePath);
     objectReference = null;
     drawer          = null;
 }
Esempio n. 2
0
        private AssetTarget(string filePath, string guid)
        {
            this.guid     = guid;
            this.filePath = filePath;

            extension       = Path.GetExtension(filePath);
            fileName        = Path.GetFileName(filePath);
            objectReference = null;
            drawer          = null;
        }