12345678910111213141516171819202122 |
- using System;
- namespace ET.Server
- {
- [ObjectSystem]
- public class MailBoxComponentAwakeSystem: AwakeSystem<MailBoxComponent>
- {
- protected override void Awake(MailBoxComponent self)
- {
- self.MailboxType = MailboxType.MessageDispatcher;
- }
- }
- [ObjectSystem]
- public class MailBoxComponentAwake1System: AwakeSystem<MailBoxComponent, MailboxType>
- {
- protected override void Awake(MailBoxComponent self, MailboxType mailboxType)
- {
- self.MailboxType = mailboxType;
- }
- }
- }
|