Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Object Data
  5. setStoredName

setStoredName

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Change the internal name of a stored object, WARNING: This will break levels if used at editor time. If you want to change a custom name for an object use setStoredCustomName instead.

Parameters:

  • index
    • An integer value
  • name
    • A string value

Example:

1
obj.setStoredName(index, name)
Tags
Was this article helpful to you? Yes No

How can we help?