1
This commit is contained in:
25
Src/Interaction/WorldInteractable.cs
Normal file
25
Src/Interaction/WorldInteractable.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit.WorldNode;
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_5_3_OR_NEWER
|
||||
namespace Net.Project.B.Interaction
|
||||
{
|
||||
[Serializable]
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user