Class SlotMachine
Read-only managed view of a native slot machine.
public sealed class SlotMachine
- Inheritance
-
SlotMachine
- Inherited Members
- Extension Methods
Properties
AvailableBets
Gets the immutable native bet choices.
public IReadOnlyList<int> AvailableBets { get; }
Property Value
CurrentBet
Gets the machine's currently selected bet.
public int CurrentBet { get; }
Property Value
IsSpinning
Gets whether the reels are currently spinning.
public bool IsSpinning { get; }
Property Value
Name
Gets the scene object name.
public string Name { get; }
Property Value
Position
Gets the current world position.
public Vector3 Position { get; }
Property Value
- Vector3
Events
SpinCompleted
Raised when a synchronized spin displays its outcome.
public event Action<SlotSpinSnapshot>? SpinCompleted
Event Type
SpinStarted
Raised when a synchronized spin begins.
public event Action<SlotSpinSnapshot>? SpinStarted