maint: removed all old unused tasks, created new tasks to replace them, cleaned up namespaces, reverted ItemTest.unity
This commit is contained in:
@@ -2,16 +2,14 @@ using NodeCanvas.Framework;
|
||||
using ParadoxNotion.Design;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
namespace Reset.Units {
|
||||
|
||||
[Category("Reset/Movement")]
|
||||
[Description("Sets a new value for gravity. Additively, or absolutely.")]
|
||||
public class SetNewGravity : ActionTask<UnitMovementHandler>{
|
||||
|
||||
public BBParameter<float> newGravity;
|
||||
[Tooltip("Setting absolute to true will cause the current gravity to snap to the new gravity value. Keeping it false will make it apply additively to the current gravity. Both options use relativty for linear interpolation.")]
|
||||
[Tooltip("Setting absolute to true will cause the resolved movement gravity to snap to the new gravity value. Keeping it false will make it apply additively to the resolved movement gravity. Both options use relativty for linear interpolation.")]
|
||||
public BBParameter<bool> absolute;
|
||||
[Tooltip("Higher relativity means more of the new value is used. Value of 1 will set it to the value directly, while .5 will blend halfway between.")]
|
||||
[SliderField(0, 1)]
|
||||
public BBParameter<float> relativity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user