Resources Folder

In Unity, any folder name Resources will be setup its files to be loaded at runtime via local paths.

To load these assets in Airship use the Asset class:

const myPrefab: GameObject =  Asset.LoadAsset("Local/Path/From/Resources.prefab");

Look to the Unity Resources Folder page for more information.

Last updated