How sp0litak/falling-floor works
Falling Floor is a Unity prototype centered on surviving a collapsing-floor level. Its apparent user path is to start from the menu, move through the level, and respond as platforms disappear or the player falls. The tree also shows interaction, doors, screen effects, and platform-color data, but gameplay source was not sampled, so their runtime wiring is uncertain. Separately, the repository includes generated-style URP command-buffer wrappers; sampled methods delegate to Unity’s command buffer. The graph reflects documented capabilities and tree paths without asserting unsampled call relationships.
Main entry points: PlayButton.cs Play Button · PlayButtonTrigger.cs Button Trigger · Movement.cs Player · Interactor.cs Interactor
Components 24
Game Flow
- Play Button
Assets/_Game/_Scripts/Gameplay/PlayButton/PlayButton.cs - Button Trigger
Assets/_Game/_Scripts/Gameplay/PlayButton/PlayButtonTrigger.cs - Menu Bootstrap
Assets/_Game/_Scripts/Core/Bootstrap/MenuBootstrap.cs - Game Bootstrap
Assets/_Game/_Scripts/Core/Bootstrap/GameBootstrap.cs - Event Bus
Assets/_Game/_Scripts/Core/EventBus/EventBus.cs
Gameplay
- Player
Assets/_Game/_Scripts/Gameplay/Player/Movement.cs - Platforms
Assets/_Game/_Scripts/Gameplay/Platform/PlatformsInfo.cs - Fall Trigger
Assets/_Game/_Scripts/Gameplay/FallTrigger/PlayerFallTrigger.cs - Interactor
Assets/_Game/_Scripts/Gameplay/Interact/Interactor.cs - Interactable Contract
Assets/_Game/_Scripts/Gameplay/Interact/IInteractable.cs - Auto Doors
Assets/_Game/_Scripts/Gameplay/Doors/AutoDoor.cs - Platform Color Logic
Assets/_Game/_Scripts/Gameplay/Platform/PlatformColor.cs - Screen Color
Assets/_Game/_Scripts/Gameplay/Screen/RandomScreenColor.cs
Rendering API
- Raster Commands
RasterCommandBuffer.cs - Compute Commands
ComputeCommandBuffer.cs - Unsafe Commands
UnsafeCommandBuffer.cs - Raster Interface
IRasterCommandBuffer.cs - Compute Interface
IComputeCommandBuffer.cs - Unsafe Interface
IUnsafeCommandBuffer.cs - Base Interface
IBaseCommandBuffer.cs
Game Content
- Game Scene
Assets/_Game/_Scenes/Game.unity - Menu Scene
Assets/_Game/_Scenes/Menu.unity - Platform Colors
Assets/_Game/SO/PlatformColors.asset
Other components
- Unity Runtime
Connections 12
- Player → Unity Runtime: moves in
- Unity Runtime → Platforms: runs gameplay
- Unity Runtime → Fall Trigger: runs trigger
- Unity Runtime → Menu Bootstrap: runs menu
- Unity Runtime → Game Bootstrap: runs game
- Play Button → Game Scene: starts level
- Button Trigger → Play Button: activates
- Platform Color Logic → Platform Colors: reads colors
- Interactor → Interactable Contract: uses contract
- Raster Commands → Unity Runtime: delegates commands
- Compute Commands → Unity Runtime: delegates commands
- Unsafe Commands → Unity Runtime: delegates commands