Пример #1
0
        internal Statist NewState(string name, float x, float y)
        {
            var state = _machine.AddState(name, AnimatorGenerator.GridPosition(x, y));

            state.motion             = _emptyClip;
            state.writeDefaultValues = false;

            return(new Statist(state));
        }
Пример #2
0
 internal Machinist WithAnyStatePosition(int x, int y)
 {
     _machine.anyStatePosition = AnimatorGenerator.GridPosition(x, y);
     return(this);
 }
Пример #3
0
 internal Machinist WithExitPosition(int x, int y)
 {
     _machine.exitPosition = AnimatorGenerator.GridPosition(x, y);
     return(this);
 }