LSUnitViewSystem.cs 387 B

1234567891011121314151617
  1. using System;
  2. using UnityEngine;
  3. namespace ET.Client
  4. {
  5. public static class LSUnitViewSystem
  6. {
  7. public class AwakeSystem: AwakeSystem<LSUnitView, GameObject>
  8. {
  9. protected override void Awake(LSUnitView self, GameObject go)
  10. {
  11. self.GameObject = go;
  12. self.Transform = go.transform;
  13. }
  14. }
  15. }
  16. }