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
|
|
@ -33,4 +33,9 @@ public class VelocityLimit : Behavior
|
|||
Entity.Velocity = normalize(Entity.Velocity) * Limit;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void RestoreRuntimeState(float limit)
|
||||
{
|
||||
Limit = limit;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue