Exemplo n.º 1
0
    void Start()
    {
        this.gameObject.GetComponent <Image>().enabled = false; //이것은 뭐시당가

        Bread.gameObject.GetComponent <Image>().enabled   = false;
        Fri.gameObject.GetComponent <Image>().enabled     = false;
        Bacon.gameObject.GetComponent <Image>().enabled   = false;
        Steak.gameObject.GetComponent <Image>().enabled   = false;
        Dessert.gameObject.GetComponent <Image>().enabled = false;

        BreadBox.gameObject.GetComponent <Image>().enabled   = false;
        FriBox.gameObject.GetComponent <Image>().enabled     = false;
        BaconBox.gameObject.GetComponent <Image>().enabled   = false;
        SteakBox.gameObject.GetComponent <Image>().enabled   = false;
        DessertBox.gameObject.GetComponent <Image>().enabled = false;

        Text.gameObject.GetComponent <Text>().enabled  = false;
        Score.gameObject.GetComponent <Text>().enabled = false;

        BreadBoxText.gameObject.GetComponent <Text>().enabled   = false;
        FriBoxText.gameObject.GetComponent <Text>().enabled     = false;
        BaconBoxText.gameObject.GetComponent <Text>().enabled   = false;
        SteakBoxText.gameObject.GetComponent <Text>().enabled   = false;
        DessertBoxText.gameObject.GetComponent <Text>().enabled = false;

        RPS_GameManager   = RPS_GameManager.Instance;
        RPS_CamController = RPS_CamController.Instance;
    }
Exemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        RPS_CharacterManager = RPS_CharacterManager.Instance;
        RPS_GameManager      = RPS_GameManager.Instance;

        onGame = 0;
    }
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;
    }