Edytuj

Udostępnij za pośrednictwem


ISKSceneDelegate Interface

Definition

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

[Foundation.Protocol(Name="SKSceneDelegate", WrapperType=typeof(SpriteKit.SKSceneDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface ISKSceneDelegate : IDisposable, ObjCRuntime.INativeObject
type ISKSceneDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

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

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 SKSceneDelegate protocol.

Optional methods (if any) are provided by the SKSceneDelegate_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

DidApplyConstraints(ISKSceneDelegate, SKScene)

Method that is called after constraints are applied to scene.

DidEvaluateActions(ISKSceneDelegate, SKScene)

Method that is called after all scene actions are evaluated for scene.

DidFinishUpdate(ISKSceneDelegate, SKScene)

Method that is called after the scene is updated.

DidSimulatePhysics(ISKSceneDelegate, SKScene)

Method that is called after physics simulation for scene is complete.

Update(ISKSceneDelegate, Double, SKScene)

Method that is called once per frame, if scene is presented and not paused, before any animation takes place.

Applies to