Scripting & API Reference
PlaySync Pro is designed to be easily extensible from custom C# scripts and editor automation pipelines.
API Documentation
- Attributes Reference — Detailed documentation for
[AutoSavePlayMode]and serialized field targeting. - C# Scripting API — Programmatic access to
PlaySyncSession, preset management, and custom event hooks.
Namespaces
PlaySync Pro provides two distinct namespaces:
-
ByteLura.PlaySync(Runtime Namespace): Contains runtime attributes ([AutoSavePlayMode]) and data container definitions (PlaySyncPreset). Safe to reference in standalone game scripts, builds, and runtime assemblies with zero editor dependencies. -
ByteLura.PlaySync.Editor(Editor Namespace): Contains editor tracking controllers, diff resolvers, patch generators, and UI window controllers. Wrapped in#if UNITY_EDITORblocks to guarantee clean runtime builds.