瀏覽代碼
Changed the lua sample to use ScriptController::loadScript instead of dofile.
The reason for this is because on Android, using dofile resulted in the file being copied to the SD card in order to use the standard file reader. However, ScriptController uses gameplay::FileSystem, which doesn't need to copy the lua source file to the SD card.