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();
    }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     CreditManagerInstance = GameObject.Find("EnterCoinGate").GetComponent <CreditManager>();
     EnterCoinGateSensorControllerInstance = GameObject.Find("EnterCoinGateSensor").GetComponent <EnterCoinGateSensorController>();
     CoinPrefab = (GameObject)Resources.Load("Prefabs/NewCoin");        //コインprefabを決定
 }