Inventory and minigame tweaks

This commit is contained in:
joonasp
2022-04-04 18:57:40 +03:00
parent e671f77c77
commit c13d671975
7 changed files with 67 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ public class EssenceNodeController : MonoBehaviour
[SerializeField]
private AudioSource chime;
public Inventory playerInventory;
private Inventory playerInventory;
public bool isTouched;
private bool followPlayer = false;
@@ -22,6 +22,7 @@ public class EssenceNodeController : MonoBehaviour
private void Awake()
{
nodeMaterial = GetComponent<Renderer>().material;
playerInventory = GameObject.Find("Inventory").GetComponent<Inventory>();
}
public void Touched()