1
This commit is contained in:
@@ -11,14 +11,16 @@ namespace Net.Project.B.Interaction
|
||||
public class WorldInteractable : IWorldInteractable,IWorldNode
|
||||
{
|
||||
public GameObject gameObject;
|
||||
public int Id => gameObject.GetInstanceID();
|
||||
public IWorldInteractable Root => this;
|
||||
public IWorldInteractionType InteractionType => null;
|
||||
|
||||
public object WorldObject
|
||||
{
|
||||
get => gameObject;
|
||||
set => throw new NotImplementedException("Can do that");
|
||||
set
|
||||
{
|
||||
if (value is GameObject go) gameObject = go;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user