Düzenle

Aracılığıyla paylaş


IGKAgentDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol GKAgentDelegate.

[Foundation.Protocol(Name="GKAgentDelegate", WrapperType=typeof(GameplayKit.GKAgentDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IGKAgentDelegate : IDisposable, ObjCRuntime.INativeObject
type IGKAgentDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by GKAgentDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the GKAgentDelegate protocol.

Optional methods (if any) are provided by the GKAgentDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension 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