Ejemplo n.º 1
0
    private int NumCoinJackpot;                //ジャックポット枚数

    //==============================================================================//
    //	初期化処理																	//
    //==============================================================================//
    void Start()
    {
        EnterCoin          = GameObject.Find("Main Camera").GetComponent <EnterCoin>();
        SugorokuController = GameObject.Find("SugorokuMasu").GetComponent <SugorokuController>();

        CoinEventIsReadyOk = true;
        NumCoinJackpot     = NUM_DEFAULT_JACKPOT;
    }
    //==============================================================================//
    //	初期化処理																	//
    //==============================================================================//
    void Start()
    {
        RouletteController  = GameObject.Find("RouletteMasu").GetComponent <RouletteController>();
        SugorokuController  = GameObject.Find("SugorokuMasu").GetComponent <SugorokuController>();
        CoinEventController = GameObject.Find("EnterCoinGate").GetComponent <CoinEventController>();

        generateInstance();
        initRouletteStockLampInfo();
    }
    //==============================================================================//
    //	初期化処理																	//
    //==============================================================================//
    void Start()
    {
        RouletteController  = GameObject.Find("RouletteMasu").GetComponent <RouletteController>();
        SugorokuController  = GameObject.Find("SugorokuMasu").GetComponent <SugorokuController>();
        CoinEventController = GameObject.Find("EnterCoinGate").GetComponent <CoinEventController>();

        generateInstance();
        initRouletteStockLampInfo();
        outputRouletteLampDisplayState();        // ストックランプの表示状態の初期化
    }
Ejemplo n.º 4
0
    private int NumCoinJackpot;                //ジャックポット枚数

    //==============================================================================//
    //	初期化処理																	//
    //==============================================================================//
    void Start()
    {
        EnterCoin                     = GameObject.Find("Main Camera").GetComponent <EnterCoin>();
        SugorokuController            = GameObject.Find("SugorokuMasu").GetComponent <SugorokuController>();
        EnterCoinGateSensorController = GameObject.Find("EnterCoinGateSensor").GetComponent <EnterCoinGateSensorController>();
        JackpotText                   = GameObject.Find("JackpotText").GetComponent <Text>();

        CoinEventIsReadyOk     = true;
        IsCoinCreateSuccuessed = true;
        ResetJackpot();
    }
Ejemplo n.º 5
0
    private bool RouletteIsReadyOk;          //ルーレット準備OKフラグ(RouletteStockControllerに見せるやつ。これがfalseだとルーレット要求できない)

    // Start is called before the first frame update
    void Start()
    {
        SugorokuControllerInstance    = GameObject.Find("SugorokuMasu").GetComponent <SugorokuController>();
        CoinEventStockManagerInstance = GameObject.Find("EnterCoinGate").GetComponent <CoinEventStockManager>();

        generateStructInstance();               //各構造体のインスタンス生成

        initMasuInfo();                         //各マスの情報初期化
        initRequest();                          //RequestInfoの初期化

        /* 各内部変数の初期化 */
        RouletteOnMasuIdThisCycle   = NUM_MASU_MAX;
        RouletteOnMasuIdBeforeCycle = NUM_MASU_MAX;
        TurnOnTimer      = TIME_TURN_ON;
        ExcludedMasuList = new bool[NUM_MASU_MAX];
        for (int i = NUM_MASU_FIRST; i < NUM_MASU_MAX; i++)
        {
            ExcludedMasuList[i] = false;
        }
        RouletteIsReadyOk = true;        //初期時はルーレット要求許可

        resetDisplayStateByExclude();    //初期時は除外用表示はしない
    }