Skip to content

Initial Data ACEs and script interface for data

Compare
Choose a tag to compare
@MikalDev MikalDev released this 22 Feb 03:05
· 138 commits to master since this release
7dafab3

Action:

  • Set [path] to [value]
    (value: number, string)
    (path: string of dot path, the full path will be created if it does not exist)
    Expression:
  • GetValue(path)
    (path: string of dot path, if path not found return '')

Script interface access to spine instance data object
let spineData = runtime.objects.spine.getFirstInstance().data
console.log('[SpineProj] spine.data',spineData)
spineData.key0 = 1;