Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Serialization #30

Open
ruccho opened this issue Dec 12, 2024 · 0 comments
Open

Script Serialization #30

ruccho opened this issue Dec 12, 2024 · 0 comments
Labels

Comments

@ruccho
Copy link
Owner

ruccho commented Dec 12, 2024

Script Serialization enables serialization of values which are imported to the component or passed to the function.

  • By-reference serialization via resource:
    • UnityEngine.Object reference
    • [Serializables] serialized with [SerializeReference]
  • By-value serialization
    • Primitives
    • [Serializable]s serialized inline

This requires something to associate type definitions on WIT and types defined in a C# script.
Related: #9

@ruccho ruccho added the unity label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant