-
Notifications
You must be signed in to change notification settings - Fork 0
Tree API
Gentilhomme edited this page Jul 26, 2016
·
3 revisions
This module allow a set of verification and interaction with the superpowers tree assets.
const sceneName : string = "Assets/Scenes/Game";
if(United.tree.exist(sceneName)) {
Sup.loadScene(sceneName);
}
else {
Sup.log(`${sceneName} was not found in the superpowers tree.`);
}
Test if the asset name exist or not !
exist(path: string) : Sup.Asset
Contributor :
- Fraxken
- Purexo