Upgrade Guide
This section helps you update custom actions and editor code written for PlayMaker 1 so they work with PlayMaker 2.
If you already have existing actions, start here before rewriting anything. Most upgrades are straightforward once you know the new patterns.
What Changed
PlayMaker 2 updates several core API conventions:
FsmStateActionis replaced byBaseAction- Action update callbacks are replaced by a single
Executeflow - Variable and event fields use newer parameter conventions
- Action summaries and progress reporting use new APIs
- Some older helpers and attributes are no longer supported
Recommended Reading Order
If you're migrating an existing action library, this is the best order to read the docs:
- Base Action to understand the new inheritance model
- Action Parameters to update fields and references
- Action Update to move old update methods into
Execute - Action Summary to replace
AutoName - Action Progress to update progress reporting
- FSM List if your code queried active FSMs
- Deprecated to catch old APIs that no longer exist
Upgrade Topics
-
Base Action
Learn how PlayMaker 2 actions inherit from
BaseActioninstead ofFsmStateAction. -
Action Parameters
Update variable, event, and parameter fields to the newer PlayMaker 2 conventions.
-
Action Update
Replace
OnUpdate,OnFixedUpdate, and similar callbacks withExecuteand related helpers. -
Action Summary
Replace
AutoNamewithGetSummaryand the newer summary template approach. -
Action Progress
Migrate old progress methods to the
Progressproperty workflow. -
FSM List
See how PlayMaker 2 uses
UpdateManagerinstead of the old FSM list access pattern. -
Deprecated
Check which older attributes and APIs are no longer supported, and what to use instead.
Good Migration Workflow
When updating an older action, a practical workflow is:
- Change the base class first.
- Rename and convert parameters.
- Move execution logic into
Execute. - Update summary and progress APIs.
- Scan the Deprecated page for anything left over.
This usually gets an older action compiling again quickly, then you can refine the behavior to match PlayMaker 2 best practices.