Class AtomSpinnerParameters
- Namespace
- Fallencake.UI
- Assembly
- Fallencake.UI.dll
Parameter bundle for configuring a single atom spinner element and its orbit.
[Serializable]
public class AtomSpinnerParameters
- Inheritance
-
objectAtomSpinnerParameters
Constructors
AtomSpinnerParameters()
public AtomSpinnerParameters()
Fields
elementColor
Tint color of the spinning element.
public Color elementColor
Field Value
- Color
elementSize
Size (x,y) of the spinning element.
public Vector2 elementSize
Field Value
- Vector2
elementSprite
[Header("OPTIONS")]
public Sprite elementSprite
Field Value
- Sprite
orbirColor
Tint color of the orbit ring.
public Color orbirColor
Field Value
- Color
orbit
Orbit ring image to visualize the path.
public Image orbit
Field Value
- Image
orbitSprite
Sprite used for the orbit ring.
public Sprite orbitSprite
Field Value
- Sprite
spinner
[Header("COMPONENTS")]
public ModularSpinner spinner
Field Value
spinningAreaOffset
Offsets constraining the element's spinning area inside its container.
public Vector2 spinningAreaOffset
Field Value
- Vector2