useFadeEffect
Field in LinePresenter
Summary
Controls whether the line view should fade in when lines appear, and fade out when lines disappear.
public bool useFadeEffect = true;
Remarks
If this value is true
, the canvasGroup object's alpha property will animate from 0 to
1 over the course of fadeUpDuration seconds when lines
appear, and animate from 1 to zero over the course of fadeDownDuration seconds when lines disappear.
If this value is false
, the canvasGroup object will appear instantaneously.
See Also
LinePresenter.canvasGroup: The canvas group that contains the UI elements used by this Line View.
LinePresenter.fadeUpDuration: The time that the fade effect will take to fade lines in.
LinePresenter.fadeDownDuration: The time that the fade effect will take to fade lines out.
Last updated
Was this helpful?