Esempio n. 1
0
 // Use this for initialization
 void Awake()
 {
     CustomerInteractionUI = FindObjectOfType <CustomerInteractionUI>();
     pcTrig          = FindObjectOfType <PcTrigger>();
     ShopInventoryUi = FindObjectOfType <ShopInventoryUi>();
     orderui         = orderP.GetComponent <OrderUI> ();
 }
Esempio n. 2
0
    // Use this for initialization
    void Start()
    {
        shopI = GameObject.Find("ShopCanvas").transform.Find("Inventory").gameObject.GetComponent <ShopInventoryUi>();
        cube  = transform.Find("Cube").gameObject;

        items = Itemmanager.items;
        //shopItem = Itemmanager.shopitem;

        //showCanvas ();

        canvas.enabled = false;

//		if (Camera.main.GetComponent<CameraController> ().CameraMode == CameraMode.FirstPerson)
//			firstPerson = true;
    }