using UnityEngine; namespace ET.Client { [ObjectSystem] public class GlobalComponentAwakeSystem : AwakeSystem { protected override void Awake(GlobalViewComponent self) { GlobalViewComponent.Instance = self; self.Global = GameObject.Find("/Global").transform; self.Unit = GameObject.Find("/Global/Unit").transform; //self.UI = GameObject.Find("/Global/UI").transform; } } }