Roulette 1.0
Roulette game template
Loading...
Searching...
No Matches
GBTemplates.Roulette.RouletteSpinerRotationHandler Class Reference

The roulette spiner rotation handler. This class is in charge of handling the rotation of the spiner when a result already exists. More...

Public Member Functions

void RotateSpinner (RouletteSpiner spiner, Transform imgTarget, UnityAction callback, int resultNumber)
 Rotates the spinner.
 

Static Public Attributes

const float anglePerNumber = 9.72973f
 The angle per number.
 

Detailed Description

The roulette spiner rotation handler. This class is in charge of handling the rotation of the spiner when a result already exists.

Member Function Documentation

◆ RotateSpinner()

void GBTemplates.Roulette.RouletteSpinerRotationHandler.RotateSpinner ( RouletteSpiner  spiner,
Transform  imgTarget,
UnityAction  callback,
int  resultNumber 
)

Rotates the spinner.

Parameters
spinerThe spiner.
imgTargetThe img target.
callbackThe callback.
resultNumberThe result number.

The documentation for this class was generated from the following file: