GKGoal.GetGoalToCohere(GKAgent[], Single, Single) 메서드

정의

팩터리 메서드는 다른 에이전트 근처에 머무르면서 무리가 많은 동작에 적합한 를 생성 GKGoal 합니다(및 GetGoalToAlign(GKAgent[], Single, Single)참조GetGoalToSeparate(GKAgent[], Single, Single)).

[Foundation.Export("goalToCohereWithAgents:maxDistance:maxAngle:")]
public static GameplayKit.GKGoal GetGoalToCohere (GameplayKit.GKAgent[] agents, float maxDistance, float maxAngle);
static member GetGoalToCohere : GameplayKit.GKAgent[] * single * single -> GameplayKit.GKGoal

매개 변수

agents
GKAgent[]
maxDistance
Single
maxAngle
Single

반환

특성

적용 대상