21 lines
445 B
C#
21 lines
445 B
C#
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// Stores lightweight metadata about a generated platform.
|
|
/// The generator and UI can use this for debugging and display.
|
|
/// </summary>
|
|
public class PlatformInfo : MonoBehaviour
|
|
{
|
|
public enum PlatformType
|
|
{
|
|
Basic,
|
|
Wide,
|
|
Narrow,
|
|
Obstacle
|
|
}
|
|
|
|
public PlatformType platformType = PlatformType.Basic;
|
|
public int generatedIndex;
|
|
public bool isSafe = true;
|
|
}
|