This commit is contained in:
CortexCore
2025-04-14 15:39:24 +08:00
parent 5fceb6f885
commit 3f9d9f19ce
50 changed files with 683 additions and 41 deletions

View File

@@ -10,18 +10,9 @@ namespace Net.Project.B.Interaction
[Serializable]
public class WorldInteractable : IWorldInteractable,IWorldNode
{
public GameObject gameObject;
public IWorldInteractable Root => this;
public IWorldInteractionType InteractionType => null;
public object WorldObject
{
get => gameObject;
set
{
if (value is GameObject go) gameObject = go;
}
}
public object WorldObject { get; set; }
public int Id { get; set; }
}
}
#endif