Some more airplane game doodles
This commit is contained in:
24
Assets/Scripts/Minigames/Airplane/Data/SpawnPositionMode.cs
Normal file
24
Assets/Scripts/Minigames/Airplane/Data/SpawnPositionMode.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user