Files
Net.Like.Xue.Tokyo/Assets/BITKit/Unity/Socket/UnitySocketComponent.cs
CortexCore b125894cc3 1
2024-11-03 16:42:23 +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;
}
}