You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
547 B

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