25 lines
599 B
C#
25 lines
599 B
C#
|
|
namespace Minigames.Airplane.Data
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Defines how spawned objects are positioned vertically.
|
||
|
|
/// </summary>
|
||
|
|
public enum SpawnPositionMode
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Raycast down to find ground and snap object's bottom to ground surface.
|
||
|
|
/// </summary>
|
||
|
|
SnapToGround,
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Spawn at a specific Y coordinate.
|
||
|
|
/// </summary>
|
||
|
|
SpecifiedY,
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Spawn at a random Y coordinate within a specified range.
|
||
|
|
/// </summary>
|
||
|
|
RandomRange
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|