Exemplo n.º 1
0
    void Start()
    {
        isCatched = false;

        RPS_Discription = RPS_Discription.Instance;
        RPS_UserHands   = RPS_UserHands.Instance;
    }
Exemplo n.º 2
0
    void Start()
    {
        level = Level.init;
        state = State.init;

        alertFlag    = true;
        comHandsFlag = true;
        cntFlag      = true;
        scoreFlag    = true;
        timerFlag    = true;
        calcFlag     = true;

        cnt         = 0;
        score       = 0;
        downTime    = 0;
        level_idx   = 0;
        limitedTime = 0;

        dt_idx = 0;
        s_idx  = 0;

        //progress bar
        bar1.GetComponent <SpriteRenderer>().enabled = false;
        bar2.GetComponent <SpriteRenderer>().enabled = false;
        bar3.GetComponent <SpriteRenderer>().enabled = false;
        bar4.GetComponent <SpriteRenderer>().enabled = false;
        bar5.GetComponent <SpriteRenderer>().enabled = false;
        Fail.GetComponent <SpriteRenderer>().enabled = false;

        //레벨 별 제한시간 초기 설정 7 6 5 4 3s
        for (int i = 0; i < floatArrTimer.Length; i++)
        {
            floatArrTimer[i] = 7 - i;
        }

        //제한 시간
        TextInTimerBox.GetComponent <Text>().enabled = false;

        RPS_Discription       = RPS_Discription.Instance;
        RPS_CharacterManager  = RPS_CharacterManager.Instance;
        RPS_CamController     = RPS_CamController.Instance;
        RPS_AlertController   = RPS_AlertController.Instance;
        RPS_ComputerHands     = RPS_ComputerHands.Instance;
        RPS_UserHands         = RPS_UserHands.Instance;
        RPS_InputManager      = RPS_InputManager.Instance;
        RPS_ChickenController = RPS_ChickenController.Instance;
        RPS_LevelTextChange   = RPS_LevelTextChange.Instance;
        RPS_ScoreManager      = RPS_ScoreManager.Instance;
    }
Exemplo n.º 3
0
    void Start()
    {
        RPS_Discription   = RPS_Discription.Instance;
        RPS_CamController = RPS_CamController.Instance;
        RPS_GameManager   = RPS_GameManager.Instance;

        isDissapear = true;

        res1  = Restaurant1.transform.position;
        res2  = Restaurant2.transform.position;
        res3  = Restaurant3.transform.position;
        res4  = Restaurant4.transform.position;
        res5  = Restaurant5.transform.position;
        party = Party.transform.position;
    }
Exemplo n.º 4
0
 void Start()
 {
     RPS_Discription = RPS_Discription.Instance;
 }