added: label over hover

This commit is contained in:
Chris
2025-09-08 17:17:28 -04:00
parent 6c1cb44d18
commit f4cb569768
10 changed files with 7293 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Drawing;
using Unity.Netcode;
using UnityEngine;
@@ -34,5 +35,11 @@ namespace Reset.Items{
public void DestroyOnOwnerRpc(){
Destroy(gameObject);
}
public void OnObserverDetected(EnvironmentObserver observer){
Draw.ingame.Label2D(transform.position + Vector3.up * 2f, item.itemName, 24);
item.DrawItemInfo(transform.position);
}
}
}