* Added RigidBody Action : Perform actions on a rigidbody
* Added SetAnimatorParameterAction : Perform parameter setting on Animators
* Added Sacrifice Oldest option to Factory
* Added Folder Cosmetic Behavior (for view in Advanced HIerarchy View)
- State Machine : Setting default state in editor also sets the correct enabled flags for this state.
#### Fixed
{
public Color Color = Color.yellow;
#if UNITY_EDITOR
private void Awake()
Reset();
Destroy(this);
}
#endif
SetState(DefaultState);
private void OnValidate()
public void SetState(string stateName)
State newState = States.FirstOrDefault(o => o.StateName == stateName);
public class FlipFlopLogic : LogicBase
public enum State
Flip,
Flop
public State InitialState = State.Flip;
[ReorderableList]
public Callable[] OnFlip;
private bool condition = true;
private State state;
public void OnEnable()
state = InitialState;
if (condition)
if (state == State.Flop)
condition = false;
state = State.Flip;
condition = true;
state = State.Flop;