Associated Type 関連型

Body

The type of scene that represents the body of this scene. このシーンのボディを表すシーンの型。

Declaration 宣言

associatedtype Body : Scene

Discussion 議論

When you create a custom scene, Swift infers this type from your implementation of the required body property.

See Also 参照

Creating a Scene