public TextureAsset(string name, string path, Texture2D texture, EAssetOrigin origin) { Name = name; Path = path; Texture = texture; Origin = origin; }
public TextureAsset(string name, string path, Texture2D texture, EAssetOrigin origin) { Name = name; Path = path; Texture = texture; if (name.ToLower().Contains("_clamp")) { Texture.wrapMode = TextureWrapMode.Clamp; } Origin = origin; }
// Token: 0x06001946 RID: 6470 RVA: 0x0008D32C File Offset: 0x0008B72C public ScannedFileInfo(string name, string assetPath, string dataPath, string bundlePath, bool dataUsePath, bool bundleUsePath, bool loadFromResources, bool canUse, AssetDirectory directory, EAssetOrigin origin, bool overrideExistingIDs) { this.name = name; this.assetPath = assetPath; this.dataPath = dataPath; this.bundlePath = bundlePath; this.dataUsePath = dataUsePath; this.bundleUsePath = bundleUsePath; this.loadFromResources = loadFromResources; this.canUse = canUse; this.directory = directory; this.origin = origin; this.overrideExistingIDs = overrideExistingIDs; }
public ScannedFileInfo(string name, string assetPath, string dataPath, string bundlePath, bool dataUsePath, bool bundleUsePath, bool loadFromResources, AssetDirectory directory, EAssetOrigin origin) { this.name = name; this.assetPath = assetPath; this.dataPath = dataPath; this.bundlePath = bundlePath; this.dataUsePath = dataUsePath; this.bundleUsePath = bundleUsePath; this.loadFromResources = loadFromResources; this.directory = directory; this.origin = origin; }