Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     food           = null;
     _GaugeUI       = GameObject.FindGameObjectWithTag("CookGaugeUI");
     _GaugeUIScript = _GaugeUI.GetComponent <SetCookGaugeUI>();
     CBMiss         = GetComponent <AudioSource>();
     CBMiss.clip    = missSound;
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     b_ReadyCook = false;
     for (int i = 0; i < 3; i++)
     {
         FPanArray[i] = null;
     }
     thisPos          = this.gameObject.transform.position;
     getUI            = GameObject.Find("TestObject");
     CallUI           = getUI.GetComponent <SetCookGaugeUI>();
     audioCookFP      = GetComponent <AudioSource>();
     audioCookFP.clip = cooking;
 }
Exemplo n.º 3
0
    void Start()
    {
        b_ReadyCook = false;
        for (int i = 0; i < 3; i++)
        {
            PotArray[i] = null;
        }
        ChangeMode(Mode.Stay);
        Soup = (GameObject)Resources.Load("Soup");

        _GaugeUI       = GameObject.FindGameObjectWithTag("CookGaugeUI");
        _GaugeUIScript = _GaugeUI.GetComponent <SetCookGaugeUI>();

        audioCookPot      = GetComponent <AudioSource>();
        audioCookPot.clip = cooking;
    }