protected override Color Evaluate(IContext context) { switch (m_Operator) { case Operator.Assign: return(m_Value.Get(context)); default: Debug.LogAssertion($"Unkown Operator {m_Operator}"); return(default); } }
protected override void Execute(IContext context, UnityEngine.UI.Text text) { var color = m_Color.Get(context); text.color = color; }