// Update is called once per frame void Update() { if (Vector3.Distance(Laika.transform.position, transform.position) < 2f) { //Display tooltip if (Input.GetButtonDown("Interact")) { Shop.Activate(); } } }
public override void Load() { Instance = this; Console = this.Logger; if (!Main.dedServ) { // Custom UI m_ShopUI = new ShopUI(); m_ShopUI.Activate(); UserInterface = new UserInterface(); } Config.Load(); }