But I got errors when running any script. I got Script error related to octane.nodegraph is nil and octane.gui is nil. So I'm not able to use scripts at all.
Is there a limitation to use Lua script in Octane Instance from Unity? Because I see the Script menu item and a way to run them.
Her is my script test code:
- Code: Select all
dialogProperties =
{
type = octane.gui.dialogType.ERROR_DIALOG,
title = "Test Title",
text = string.format("Test Text")
}
octane.gui.showDialog(dialogProperties)
scene = octane.nodegraph.getRootGraph()
Thanks