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
|
|
@ -135,4 +135,18 @@ public class AetherDrive : Behavior
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
public void RestoreRuntimeState(
|
||||
float3 axis,
|
||||
float3 thrust,
|
||||
float3 rpm,
|
||||
float maximumRpm,
|
||||
float2 thrustDirection)
|
||||
{
|
||||
Axis = axis;
|
||||
Thrust = thrust;
|
||||
Rpm = rpm;
|
||||
MaximumRpm = maximumRpm;
|
||||
ThrustDirection = thrustDirection;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue