1
This commit is contained in:
14
Src/Unity/Socket/UnitySocketComponent.cs
Normal file
14
Src/Unity/Socket/UnitySocketComponent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BITKit.GameSocket
|
||||
{
|
||||
public class UnitySocketComponent : MonoBehaviour,ISocketComponent
|
||||
{
|
||||
[SerializeReference,SubclassSelector] private IReference nameReference;
|
||||
public string Name => nameReference.Value;
|
||||
public object Object => transform;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user