protected override void OnStart(Tweener tweener) { if (tweener == null) { m_Value = m_TargetValue; } else { tweener.TweenTo(this, "m_Value", m_TargetValue, Duration, Easing.Sine.EaseOut); } }
protected override void OnStart(Tweener tweener) { if (tweener == null) { m_Alpha = m_TargetAlpha; } else { tweener.TweenTo(this, "m_Alpha", m_TargetAlpha, Duration, Easing.Sine.EaseOut); } }
public void Start() { if (m_Tweener.IsTweening == true) { return; } if (m_Widget.Visible == true) { m_Tweener.TweenTo(this, "m_Scale", m_TargetScale, m_Duration, Easing.Sine.EaseOut); } OnStart(m_Widget.Visible ? m_Tweener : null); }