편집

다음을 통해 공유


GKAgentDelegate_Extensions Class

Definition

Extension methods to the IGKAgentDelegate interface to support all the methods from the GKAgentDelegate protocol.

public static class GKAgentDelegate_Extensions
type GKAgentDelegate_Extensions = class
Inheritance
GKAgentDelegate_Extensions

Remarks

The extension methods for IGKAgentDelegate allow developers to treat instances of the interface as having all the optional methods of the original GKAgentDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

AgentDidUpdate(IGKAgentDelegate, GKAgent)

Method that is called after agent has performed a simulation step.

AgentWillUpdate(IGKAgentDelegate, GKAgent)

Method that is called before agent performs a simulation step.

Applies to