API Reference

Class List

pc.ScriptHandler

ResourceHandler for loading JavaScript files dynamically Two types of JavaScript files can be loaded, PlayCanvas scripts which contain calls to pc.createScript, or regular JavaScripts files, such as third-party libraries.

Summary

Details

Constructor

ScriptHandler(app)

Parameters

apppc.ApplicationThe running {pc.Application}