Sie sind auf Seite 1von 1

This applies to SpatialOS 11.

0+
SPATIALOS: UNITY LOCAL BUILD CHEATSHEET

What changed?
About this cheatsheet

This cheatsheet covers local development


Fix code references
Optional workflows for a Unity SpatialOS project.
and/or write code
It assumes that you're only iterating on one of the
UnityClient or UnityWorker (ie have that worker's
scene loaded in the Unity Editor) at any one time.

SpatialOS window > The unloaded worker is the Unity worker whose
SpatialOS window >
Generate from Regenerate seed scene is not currently open.
Schema Workers >
schema > snapshot
Build
Build Make sure you select Development, and the
unloaded worker, in the SpatialOS window:

For example, if you:


- added a
component
- edited a
component

SpatialOS window >


Yes Entity prefabs >
Build all

Does the change apply to the


Unity prefab
unloaded worker?

For example, if you:


- added a
component to a
Unity will refresh
prefab No
change automatically
- removed a
component from a
prefab

SpatialOS window >


Yes Generate from schema > Any more changes? Yes
Build

Does the change apply to the No


Unity code
unloaded worker?

Done!

Unity will refresh


No
change automatically

Something that affects


Regenerate seed
entities in the seed
snapshot
snapshot

For example, if you


added entities to the
initial state of the world

Worker configuration Run


(ie, *.worker.json) spat i al wor k er
bui l d bui l d- c onf i g

Das könnte Ihnen auch gefallen