InputActionsLoader
- Namespace: Turian.Engine.Core
- Source File: InputActionsLoader.cs
Resolves the InputActionsAsset a project names in Actions. The standalone runtime and the Studio's play mode both go through this, so both games read the same maps.
Public Methods
Resolve
public static InputActionsAsset? Resolve(IAppSettings? settings, IAssetLoader? loader, string? projectDirectory)
Loads the project's action maps, or null when none are configured or the asset cannot be read.
Parameters:
settings(IAppSettings?): The project settings naming the asset.loader(IAssetLoader?): Resolves the asset metadata by id.projectDirectory(string?): Root the asset's relative path is resolved against.
Returns: InputActionsAsset?
- The maps, or null.