Esempio n. 1
0
    public void Show(IShopCostumer shopCostumer)
    {
        if (!fps)
        {
            fps = GameObject.Find("Player").GetComponent <FirstPersonController>();
        }
        fps.enabled = false;


        Cursor.lockState = CursorLockMode.None;
        Cursor.visible   = true;

        this.shopCostumer = shopCostumer;
        container.gameObject.SetActive(true);
    }
Esempio n. 2
0
 private void Start()
 {
     shopCostumer = GameObject.Find("PlayerInventory").GetComponent <PlayerInventory>();
 }