protected override async Task <ResourceInfo> CreateResourceInfoFromResourceOverride(EngineNS.RName resourceName) { await EngineNS.Thread.AsyncDummyClass.DummyFunc(); var retValue = new MacrossEnumResourceInfo(); return(retValue); }
public async Task <ResourceInfo> CreateEmptyResource(string absFolder, string rootFolder, IResourceCreateData createData) { await EngineNS.Thread.AsyncDummyClass.DummyFunc(); var result = new MacrossEnumResourceInfo(); var data = createData as MacrossEnumCreateData; var reName = EngineNS.CEngine.Instance.FileManager._GetRelativePathFromAbsPath(absFolder + "/" + data.ResourceName, EngineNS.CEngine.Instance.FileManager.ProjectContent); reName += EngineNS.CEngineDesc.MacrossEnumExtension; result.ResourceName = EngineNS.RName.GetRName(reName, data.RNameType); return(result); }