using UnityEngine; namespace Plugins.Animate_UI_Materials { public interface IMaterialPropertyModifier { /// /// The name of the shader property that the modifier affects /// string PropertyName { get; } /// /// The display name of the modifier component for the editor /// string DisplayName { get; } /// /// The "enabled" value of the modifier component /// bool enabled { get; set; } /// /// The "gameObject" value of the modifier component /// GameObject gameObject { get; } /// /// Apply the modified property to the material /// /// void ApplyModifiedProperty(Material material); /// /// Try to retrieve and apply the default property value /// If the source material cannot be found, reset to sensible defaults /// void ResetPropertyToDefault(); } }