Restore behavior runtime state from typed Continue
This commit is contained in:
parent
c8b58fa44f
commit
01fc810eb4
23 changed files with 406 additions and 13 deletions
|
|
@ -76,4 +76,10 @@ public class Thruster : Behavior, IAnalogBehavior
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void RestoreRuntimeState(float axis, float thrust)
|
||||
{
|
||||
Axis = axis;
|
||||
Thrust = thrust;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue