@@ -1,6 +1,4 @@
-using ET.Client;
+namespace ET.Client
-
-namespace ET
{
[ObjectSystem]
public class PlayerComponentAwakeSystem : AwakeSystem<PlayerComponent>
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: fe67eebe4207d0546b2db501476bba9a
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
@@ -3,9 +3,8 @@
[ComponentOf(typeof(Scene))]
public class PlayerComponent: Entity, IAwake, IDestroy
- public long MyId { get; set; }
[StaticField]
public static PlayerComponent Instance;
+
}
-guid: 972155bb07920b648bbeecab259ed50b
@@ -1,15 +1,15 @@
-using UnityEngine;
+using UnityEngine;
namespace ET.Client
- public class GlobalComponent: Entity, IAwake
+ public class GlobalViewComponent: Entity, IAwake
- public static GlobalComponent Instance;
+ public static GlobalViewComponent Instance;
public Transform Global;
public Transform Unit { get; set; }
//public Transform UI;
-}
+}