Class ObjectSpawnPositionProvider
Static class containing mappings for the line layers, line inidces and cut directions for the positioning of spawned objects.
Inheritance
System.Object
ObjectSpawnPositionProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GameSpawners
Assembly: cs.temp.dll.dll
Syntax
public static class ObjectSpawnPositionProvider
Methods
getCutDirection(Int32)
Declaration
public static int getCutDirection(int cutDirection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | cutDirection |
Returns
| Type | Description |
|---|---|
| System.Int32 |
getHorizontalPosition(Int32)
Declaration
public static float getHorizontalPosition(int lineIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | lineIndex |
Returns
| Type | Description |
|---|---|
| System.Single |
getVerticalPosition(Int32)
Declaration
public static float getVerticalPosition(int lineLayer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | lineLayer |
Returns
| Type | Description |
|---|---|
| System.Single |