protected override async System.Threading.Tasks.Task <ResourceInfo> CreateResourceInfoFromResourceOverride(RName resourceName)
        {
            await EngineNS.Thread.AsyncDummyClass.DummyFunc();

            var retValue = new PhyMaterialResourceInfo();

            retValue.ResourceName = resourceName;
            retValue.ResourceType = "Describe";

            return(retValue);
        }
        public async System.Threading.Tasks.Task <ResourceInfo> CreateEmptyResource(string Absfolder, string rootFolder, EditorCommon.Resources.IResourceCreateData createData)
        {
            await EngineNS.Thread.AsyncDummyClass.DummyFunc();

            var result = new PhyMaterialResourceInfo();

            var data   = createData as PhyMtlCreateData;
            var reName = EngineNS.CEngine.Instance.FileManager._GetRelativePathFromAbsPath(Absfolder + "/" + data.ResourceName, rootFolder);

            reName += EngineNS.CEngineDesc.PhysicsMaterial;
            result.ResourceName = EngineNS.RName.GetRName(reName, data.RNameType);

            var mtl = EngineNS.CEngine.Instance.PhyContext.CreateMaterial(data.StaticFriction, data.DynamicFriction, data.Restitution);

            mtl.Save2Xnd(result.ResourceName);

            return(result);
        }