mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
21 lines
277 B
C#
21 lines
277 B
C#
namespace ET.Client
|
|
{
|
|
[ComponentOf(typeof(Scene))]
|
|
public class SessionComponent: Entity, IAwake, IDestroy
|
|
{
|
|
private EntityRef<Session> session;
|
|
|
|
public Session Session
|
|
{
|
|
get
|
|
{
|
|
return this.session;
|
|
}
|
|
set
|
|
{
|
|
this.session = value;
|
|
}
|
|
}
|
|
}
|
|
}
|