Ignition / ScrollBoxAutoScroll

Namespace Playniax.Ignition.UI

Inherits from MonoBehaviour

Script can be found in Assets/Playniax/Framework/Ignition/Framework/UI/Scripts (MonoBehaviour)/ScrollBoxAutoScroll.cs

Class ScrollBoxAutoScroll

Description

Ensures that the content within the ScrollBox continuously scrolls upward at a constant speed, resetting to the bottom once it reaches the top.

Public fieldsDescription
ScrollBox scrollBox Reference to the ScrollBox component containing the scrollable content.
float speed = 50 The speed of the auto-scrolling, measured in units per second.