public bool HasChanged() { ProceduralMaterialInspector.ProceduralPlatformSetting setting = new ProceduralMaterialInspector.ProceduralPlatformSetting(this.targets, this.name, this.target, null); return ((((setting.m_Overridden != this.m_Overridden) || (setting.maxTextureWidth != this.maxTextureWidth)) || ((setting.maxTextureHeight != this.maxTextureHeight) || (setting.textureFormat != this.textureFormat))) || (setting.m_LoadBehavior != this.m_LoadBehavior)); }
public bool HasChanged() { ProceduralMaterialInspector.ProceduralPlatformSetting proceduralPlatformSetting = new ProceduralMaterialInspector.ProceduralPlatformSetting(this.targets, this.name, this.target, (Texture2D) null); if (proceduralPlatformSetting.m_Overridden == this.m_Overridden && proceduralPlatformSetting.maxTextureWidth == this.maxTextureWidth && (proceduralPlatformSetting.maxTextureHeight == this.maxTextureHeight && proceduralPlatformSetting.textureFormat == this.textureFormat)) return proceduralPlatformSetting.m_LoadBehavior != this.m_LoadBehavior; return true; }