protected override void OnEnter(NodeData wData) { if (!wData.Blackboard.ContainsKey(DEC_PRE_CheckEnemyInAttackRange.EnemyInAttackRangeKey)) { return; } GazeSurroundData context = GetContext <GazeSurroundData>(wData); context.Timer = NodeTime.TotalTime; int followEntityUid = (int)wData.Blackboard[DEC_PRE_CheckEnemyInAttackRange.EnemyInAttackRangeKey]; paramData.SetInt(followEntityUid); paramData.SetVect2(gazeRange); EntityWorkData workData = wData as EntityWorkData; LCECS.ECSLayerLocate.Request.PushRequest(workData.MEntity.GetHashCode(), LCECS.RequestId.GazeSurround, paramData); }