#define Graph_And_Chart_PRO using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace ChartAndGraph { /// /// Contains diffrent mateirals for different gui events /// [Serializable] public class ChartDynamicMaterial { public ChartDynamicMaterial() :this(null,Color.clear,Color.clear) { } /// /// creates a new dynamic material /// /// the default material public ChartDynamicMaterial(Material normal) :this(normal, Color.clear, Color.clear) { } /// /// /// /// the default material /// the material of the mouse hover event /// the material of the mouse click event public ChartDynamicMaterial(Material normal,Color hover, Color selected) { Normal = normal; Hover = hover; Selected = selected; } public Material Normal; public Color Hover; public Color Selected; } }