Interactable Entities
This commit is contained in:
1 parent
efb5e1c2e8
commit
e05cf28266
142 files changed
+46900
-8796
No files matched your search
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Game.OfficeGame.Entities
|
||||
{
|
||||
public abstract class InteractableEntity : MonoBehaviour
|
||||
{
|
||||
public abstract void Interact();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a6941805e9fe4e9c9c1fd749e5b1bd10
|
||||
timeCreated: 1791817565
|
||||
@@ -0,0 +1,16 @@
|
||||
using TinyGoose.Tremble;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Game.OfficeGame.Entities
|
||||
{
|
||||
[PrefabEntity]
|
||||
public class TestInteractableEntity : InteractableEntity
|
||||
{
|
||||
[SerializeField] private string testText = "Interaction";
|
||||
|
||||
public override void Interact()
|
||||
{
|
||||
Debug.Log(testText);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 688448f9ab7f4aa1bbce28a75f154984
|
||||
timeCreated: 1791816884
|
||||
Reference in new issue
Block a user