AssetBundleGraph.Asset.Asset C# (CSharp) Method

Asset() private method

private Asset ( System.Guid guid, string assetDatabaseId = null, string absoluteAssetPath = null, string importFrom = null, string exportTo = null, Type assetType = null, bool isNew = false, bool isBundled = false, string variantName = null ) : System
guid System.Guid
assetDatabaseId string
absoluteAssetPath string
importFrom string
exportTo string
assetType System.Type
isNew bool
isBundled bool
variantName string
return System
        private Asset(
			Guid guid,
			string assetDatabaseId = null,
			string absoluteAssetPath = null,
//			string sourceBasePath = null,
//			string fileNameAndExtension = null,
//			string pathUnderSourceBase = null,
			string importFrom = null,
			string exportTo = null,
			Type assetType = null,
			bool isNew = false,
			bool isBundled = false,
			string variantName = null
		)
        {
            if(assetType == typeof(object)) {
                throw new AssetBundleGraphException("Unknown type asset is created:" + absoluteAssetPath);
            }

            this.guid = guid;
            this.absoluteAssetPath = absoluteAssetPath;
            //			this.sourceBasePath = sourceBasePath;
            //			this.fileNameAndExtension = fileNameAndExtension;
            //			this.pathUnderSourceBase = pathUnderSourceBase;
            this.importFrom = importFrom;
            this.exportTo = exportTo;
            this.assetDatabaseId = assetDatabaseId;
            this.assetType = assetType;
            this.isNew = isNew;
            this.isBundled = isBundled;
            this.variantName = variantName;
        }