internal Statist DrivingDecreases(FloatParameterist parameterist, float positiveValueToDecreaseBy) { CreateDriverBehaviorIfNotExists(); _driver.parameters.Add(new VRC_AvatarParameterDriver.Parameter { type = VRC_AvatarParameterDriver.ChangeType.Add, name = parameterist.Name, value = -positiveValueToDecreaseBy }); return(this); }
internal Statist Drives(FloatParameterist parameterist, float value) { CreateDriverBehaviorIfNotExists(); _driver.parameters.Add(new VRC_AvatarParameterDriver.Parameter { type = VRC_AvatarParameterDriver.ChangeType.Set, name = parameterist.Name, value = value }); return(this); }
internal BuildingFloatTransitionist(TransitionContinuationist transitionist, AnimatorStateTransition transition, FloatParameterist parameterist) { _transitionist = transitionist; _transition = transition; _parameterist = parameterist; }
internal BuildingFloatTransitionist And(FloatParameterist parameter) { return(new BuildingFloatTransitionist(this, _transition, parameter)); }
internal BuildingFloatTransitionist When(FloatParameterist parameter) { return(new BuildingFloatTransitionist(new TransitionContinuationist(_transition), _transition, parameter)); }