Esempio n. 1
0
 private void Start()
 {
     rWS        = FindObjectOfType <RouletteWheelSpin>();
     wP         = FindObjectOfType <WinningsPayout>();
     nRS        = FindObjectOfType <NumberReaderScript>();
     sBI        = FindObjectOfType <SaveBetInfo>();
     dD         = FindObjectOfType <DontDestroy>();
     winner     = false;
     soundCount = 3;
 }
Esempio n. 2
0
    // Start is called before the first frame update
    void Start()
    {
        rouletteWheel = GameObject.Find("Roulette Wheel");
        ball.SetActive(false);
        wheelScript = rouletteWheel.GetComponent <RouletteWheelSpin>();
        startSpin   = true;

        //Ball rotation values
        xAngle = 0;
        yAngle = 0;
        zAngle = 0;
    }