PlayerComponent.cs 245 B

1234567891011
  1. namespace ET.Client
  2. {
  3. [ComponentOf(typeof(Scene))]
  4. public class PlayerComponent: Entity, IAwake, IDestroy
  5. {
  6. [StaticField]
  7. public static PlayerComponent Instance;
  8. public long PlayerId { get; set; }
  9. }
  10. }