Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. GameState
  5. GoAssetLevel

GoAssetLevel

Platform Compatibility

PC Mac OSX Oculus Quest
X X *
*When Asset Bundle is exported in Android format

Try to go to a scene from an asset bundle

Parameters:

  • assetbundle
    • A string value representing the name of the asset bundle
  • level
    • A string value representing the name of the level to load

Example:

1
obj.GoAssetLevel(assetbundle, level)
Tags
Was this article helpful to you? Yes No

How can we help?