示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     //Get reference to Barista
     Barista           = GameObject.FindGameObjectWithTag("Player");
     baristaController = Barista.GetComponent <BaristaController>();
     targetQueue       = baristaController.targetQueue;
 }
    private void Start()
    {
        leftHand  = GameObject.FindGameObjectWithTag("LeftHand");
        rightHand = GameObject.FindGameObjectWithTag("RightHand");
        barista   = GameObject.FindGameObjectWithTag("Player");

        baristaController = barista.GetComponent <BaristaController>();
        targetQueue       = baristaController.targetQueue;
    }
示例#3
0
 // Start is called before the first frame update
 void Start()
 {
     barista = GameObject.FindGameObjectWithTag("Player").GetComponent <BaristaController>();
 }