Files
BITKit/Src/Unity/Socket/UnitySocketComponent.cs
CortexCore 4ba741408d 1
2024-11-03 16:38:17 +08:00

15 lines
370 B
C#

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;
}
}