public override void OnEnter(RuntimeStateNode lastNode) { base.OnEnter(lastNode); _component = Graph.Entity.Get <FpPivotComponent>(); if (_component != null) { _origin = _component.Tr.localPosition; } _time = 0; }
public override void OnExit() { base.OnExit(); _component = null; }