UnitGateComponent.cs 389 B

1234567891011121314151617181920
  1. namespace ET
  2. {
  3. public class UnitGateComponentAwakeSystem : AwakeSystem<UnitGateComponent, long>
  4. {
  5. public override void Awake(UnitGateComponent self, long a)
  6. {
  7. self.Awake(a);
  8. }
  9. }
  10. public class UnitGateComponent : Entity, ISerializeToEntity
  11. {
  12. public long GateSessionActorId;
  13. public void Awake(long gateSessionId)
  14. {
  15. this.GateSessionActorId = gateSessionId;
  16. }
  17. }
  18. }