메소드 | 설명 | |
---|---|---|
GetAnchor ( int index ) : |
Gets the anchor with the specified template-wide unique index.
|
|
GetContext ( int index ) : |
Gets the context with the specified template-wide unique index.
|
메소드 | 설명 | |
---|---|---|
ChunkTemplate ( int weight, string tag, bool allowChunkRotation ) : System |
Constructs a new chunk template with the specified weight, category and rotation permission.
|
protected ChunkTemplate ( int weight, string tag, bool allowChunkRotation ) : System | ||
weight | int | Relative weight of the new chunk template. |
tag | string | Category of the new chunk template. |
allowChunkRotation | bool | Whether the level generator is allowed to rotate chunks created with the template by 90°, or not. |
리턴 | System |
public GetAnchor ( int index ) : |
||
index | int | Index of the anchor to get. |
리턴 |
public GetContext ( int index ) : |
||
index | int | Index of the context to get. |
리턴 |