Inventory and minigame tweaks
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user