Game.ArtPipeline.Preview.ColorPresetList
Assembly: Game.ArtPipeline
Namespace: Game.ArtPipeline.Preview
Type: class public
Base: System.Object
Code
public class ColorPresetList
{
private System.String <ListId>k__BackingField;
private System.Collections.Generic.List<UnityEngine.Color> <Colors>k__BackingField;
private UnityEngine.Events.UnityAction<System.Collections.Generic.List<UnityEngine.Color>> OnColorsUpdated;
public System.String ListId { get; private set; }
public System.Collections.Generic.List<UnityEngine.Color> Colors { get; private set; }
public ColorPresetList(System.String listId, System.Collections.Generic.List<UnityEngine.Color> colors);
public System.Void AddColor(UnityEngine.Color color);
public System.Void UpdateList(System.Collections.Generic.IEnumerable<UnityEngine.Color> colors);
}
Fields
private System.String <ListId>k__BackingField
private System.String <ListId>k__BackingField;
private System.Collections.Generic.List<UnityEngine.Color> <Colors>k__BackingField
private System.Collections.Generic.List<UnityEngine.Color> <Colors>k__BackingField;
private UnityEngine.Events.UnityAction<System.Collections.Generic.List<UnityEngine.Color>> OnColorsUpdated
private UnityEngine.Events.UnityAction<System.Collections.Generic.List<UnityEngine.Color>> OnColorsUpdated;
Properties
public System.String ListId { get; private set }
public System.String ListId { get; private set; }
public System.Collections.Generic.List<UnityEngine.Color> Colors { get; private set }
public System.Collections.Generic.List<UnityEngine.Color> Colors { get; private set; }
Constructors
public ColorPresetList(System.String listId, System.Collections.Generic.List<UnityEngine.Color> colors = null)
public ColorPresetList(System.String listId, System.Collections.Generic.List<UnityEngine.Color> colors);
Methods
public AddColor(UnityEngine.Color color) : System.Void
public System.Void AddColor(UnityEngine.Color color);
public UpdateList(System.Collections.Generic.IEnumerable<UnityEngine.Color> colors) : System.Void
public System.Void UpdateList(System.Collections.Generic.IEnumerable<UnityEngine.Color> colors);
Events
OnColorsUpdated
:UnityEngine.Events.UnityAction<System.Collections.Generic.List<UnityEngine.Color>>
public event UnityEngine.Events.UnityAction<System.Collections.Generic.List<UnityEngine.Color>> OnColorsUpdated;