MovementProfile.AddSettings<T>
Method in MovementProfile
Declaration
public T AddSettings<T>(bool enabled = true)
where T : MovementSettings, new()
Description
Adds the settings of the specified type to the profile.
Type Parameters
T | The type of settings to add. |
Parameters
enabled | Whether the settings behavior is enabled (default=true). |
Returns
T | The settings added to the profile. |