편집

다음을 통해 공유


SKSceneDelegate_Extensions Class

Definition

Extension methods to the ISKSceneDelegate interface to support all the methods from the SKSceneDelegate protocol.

public static class SKSceneDelegate_Extensions
type SKSceneDelegate_Extensions = class
Inheritance
SKSceneDelegate_Extensions

Remarks

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

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