Spawn Asset Resource

Overview of the Spawn Asset Resource

The Spawn Asset resource allows the author to spawn any type of asset instance into a scene. The asset is spawned at the specified position.

The types of assets that can be spawned include:

  • Unity Assets
  • Binary Assets

2021-04-14_13-34-53

Required Fields:

Field Name Description
Asset Instance Specifies the asset to be spawned
Position Specifies the position at which the asset should spawn

Events:

Open and Activate.

Example:

I have a character named Stacey and I want her to appear at the office door in my scene.

  • Add Position to the script with an anchor (from your own catalog):

Screen Shot 2021-04-14 at 1.38.09 PM

  • Drag and drop the Spawn Asset Resource into the frame.
  • Choose an Asset from your catalog.
  • Choose Relative Position.
  • Link the anchor from the frame above:
Screen Shot 2021-04-14 at 1.40.06 PM

  • Save and test in the headset: