Table of Contents

Class UISpinner

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll
public class UISpinner : MonoBehaviour
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
UISpinner

Properties

angle

public float angle { get; }

Property Value

float

currentRotationSpeed

public float currentRotationSpeed { get; }

Property Value

float

hasCompletedFirstRotation

public bool hasCompletedFirstRotation { get; }

Property Value

bool

isSpinning

public bool isSpinning { get; }

Property Value

bool

Methods

Initialize(ISpinnerHandler, int)

public void Initialize(ISpinnerHandler spinnerHandler, int index)

Parameters

spinnerHandler ISpinnerHandler
index int

Spin()

public void Spin()

StartContinuousSpin()

Starts continuous spinning mode

public void StartContinuousSpin()

StartSynchronizedContinuousSpin(float)

Starts synchronized continuous spinning with specified speed

public void StartSynchronizedContinuousSpin(float synchronizedSpeed)

Parameters

synchronizedSpeed float

Speed to synchronize to

Stop()

public void Stop()

StopImmediate()

public void StopImmediate()