zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Server/Hotfix/Module/Actor/MailBoxComponentSystem.cs

22 lines
547 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using System;
namespace ET
{
[ObjectSystem]
public class MailBoxComponentAwakeSystem: AwakeSystem<MailBoxComponent>
{
public override void Awake(MailBoxComponent self)
{
self.MailboxType = MailboxType.MessageDispatcher;
}
}
[ObjectSystem]
public class MailBoxComponentAwake1System: AwakeSystem<MailBoxComponent, MailboxType>
{
public override void Awake(MailBoxComponent self, MailboxType mailboxType)
{
self.MailboxType = mailboxType;
}
}
}