1
This commit is contained in:
17
Src/Unity/Scripts/Entity/Core/EntityAddressableComponent.cs
Normal file
17
Src/Unity/Scripts/Entity/Core/EntityAddressableComponent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BITKit.Entities
|
||||
{
|
||||
[CustomType(typeof(IAddressable))]
|
||||
public class EntityAddressableComponent : MonoBehaviour,IAddressable
|
||||
{
|
||||
[SerializeField] private string addressablePath;
|
||||
[SerializeField] private ulong addressableId;
|
||||
|
||||
public string AddressablePath => addressablePath;
|
||||
public ulong AddressableId => addressableId;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user