コード例 #1
0
 public Object FindAsset(int fileIndex, long pathID)
 {
     if (fileIndex == VirtualSerializedFile.VirtualFileIndex)
     {
         return(VirtualFile.FindAsset(pathID));
     }
     else
     {
         return(File.FindAsset(fileIndex, pathID));
     }
 }
コード例 #2
0
 public Object FindObject(int fileIndex, long pathID)
 {
     if (fileIndex == PPtr <Object> .VirtualFileIndex)
     {
         return(VirtualFile.FindAsset(pathID));
     }
     else
     {
         return(File.FindAsset(fileIndex, pathID));
     }
 }
コード例 #3
0
        public Object FindAsset(ClassIDType classID, string name)
        {
            Object asset = VirtualFile.FindAsset(classID, name);

            return(asset ?? File.FindAsset(classID, name));
        }
コード例 #4
0
        public Object FindAsset(ClassIDType classID)
        {
            Object asset = VirtualFile.FindAsset(classID);

            return(asset ?? File.FindAsset(classID));
        }