(Feat) Add Build
This commit is contained in:
@@ -6,17 +6,16 @@ namespace Ashwild.UI
|
||||
/// <summary>
|
||||
/// Classifies how a panel affects gameplay when open, so a UI manager can apply the right
|
||||
/// side effects: Default = plain menu panel, Pause = freezes the world / raises GamePaused,
|
||||
/// Inventory = a local UI window where the world keeps running, Build = the construction
|
||||
/// menu, an inventory-like window that locks input and shows the cursor but never pauses,
|
||||
/// Chest = the storage window (inventory + chest), the same kind of local, non-pausing window.
|
||||
/// Inventory = a local UI window where the world keeps running (a chest reuses this same window
|
||||
/// in "chest mode"), Build = the construction menu, an inventory-like window that locks input and
|
||||
/// shows the cursor but never pauses.
|
||||
/// </summary>
|
||||
public enum PanelKind
|
||||
{
|
||||
Default,
|
||||
Pause,
|
||||
Inventory,
|
||||
Build,
|
||||
Chest
|
||||
Build
|
||||
}
|
||||
|
||||
[RequireComponent(typeof(CanvasGroup))]
|
||||
|
||||
Reference in New Issue
Block a user