Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. GameState
  5. saveTextLine

saveTextLine

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Save text line to file in StreamingAssets, append adds to end of file

Parameters:

  • line
    • A string value
  • fileName
    • A string value
  • append Optional
    • A boolean value

Example:

1
obj.saveTextLine(line, fileName, append)
Tags
Was this article helpful to you? Yes No

How can we help?