Class ProgressIndicatorOrbsRotator
This class manages the 'rotating circle of dots' effect
that is used as a Progress Indicator effect.
Inheritance
ProgressIndicatorOrbsRotator
Assembly: cs.temp.dll.dll
public class ProgressIndicatorOrbsRotator : MonoBehaviour, IProgressIndicator
Fields
Declaration
public float acceleration
Field Value
Declaration
public bool hasAnimationFinished
Field Value
Declaration
Field Value
Declaration
public float rotationSpeedRawDegrees
Field Value
Declaration
public float spacingDegrees
Field Value
Declaration
Field Value
Properties
MainTransform
The progress indicator's main transform.
You can use this to attach follow scripts or solvers to the indicator.
Declaration
public Transform MainTransform { get; }
Property Value
Type |
Description |
Transform |
|
The message to display during loading.
Declaration
public string Message { set; }
Property Value
Loading progress value from 0 (just started) to 1 (complete)
Declaration
public float Progress { set; }
Property Value
Used to determine whether it's appropriate to use this indicator.
Declaration
public ProgressIndicatorState State { get; }
Property Value
Methods
Returns after progress indicator completes its opening or closing transition.
Declaration
public Task AwaitTransitionAsync()
Returns
Closes the progress indicator after loading is finished. Method is async to allow for animation to complete.
Declaration
Returns
Opens the progress indicator before loading begins. Method is async to allow for animation to begin before loading.
Declaration
Returns
Declaration
Implements