14 lines
506 B
C#
14 lines
506 B
C#
namespace ET
|
|
{
|
|
public static class GetInfoComponentSystem
|
|
{
|
|
public static async ETTask Start(this GetInfoComponent self)
|
|
{
|
|
await TimerComponent.Instance.WaitAsync(1000);
|
|
// var unit = self.ZoneScene().GetComponent<UnitComponent>().MyUnit;
|
|
var unit = self.ZoneScene().GetComponent<UnitComponent>().MyUnit;
|
|
StarSoulBag bag = unit.GetComponent<StarSoulBag>();
|
|
unit.GetComponent<StarSoulBag>().InitData();
|
|
}
|
|
}
|
|
} |