2021-05-01 22:06:12 +08:00
|
|
|
|
namespace ET
|
|
|
|
|
{
|
|
|
|
|
public static class GetInfoComponentSystem
|
|
|
|
|
{
|
|
|
|
|
public static async ETTask Start(this GetInfoComponent self)
|
|
|
|
|
{
|
|
|
|
|
await TimerComponent.Instance.WaitAsync(1000);
|
2021-05-14 15:28:23 +08:00
|
|
|
|
// var unit = self.ZoneScene().GetComponent<UnitComponent>().MyUnit;
|
|
|
|
|
var unit = self.ZoneScene().GetComponent<UnitComponent>().MyUnit;
|
|
|
|
|
StarSoulBag bag = unit.GetComponent<StarSoulBag>();
|
|
|
|
|
unit.GetComponent<StarSoulBag>().InitData();
|
2021-05-01 22:06:12 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|