Example #1
0
 internal void Edit(WUICurveValue wUICurveValue)
 {
     Stack();
     wUI.onClick        += Delselect;
     _data.wUICurveValue = wUICurveValue;
     _components.wUICurve.Populate(wUICurveValue);
 }
Example #2
0
    internal void Populate(WUICurveValue wUICurveValue)
    {
        _data.wUICurveValue = wUICurveValue;
        _components.leftTangent.anchoredPosition  = Vector3.Scale(_data.wUICurveValue.curve.leftTangent.vector2, _components.container.sizeDelta);
        _components.rightTangent.anchoredPosition = Vector3.Scale(_data.wUICurveValue.curve.rightTangent.vector2, _components.container.sizeDelta);

        _components.leftValue.anchoredPosition  = Vector3.Scale(_data.wUICurveValue.curve.leftValue.vector2, _components.container.sizeDelta);
        _components.rightValue.anchoredPosition = Vector3.Scale(_data.wUICurveValue.curve.rightValue.vector2, _components.container.sizeDelta);
    }
Example #3
0
 internal void Edit(WUICurveValue wUICurveValue)
 {
     baseComponents.wUICurveMenu.Edit(wUICurveValue);
 }