Skip to content

LoadTextFile

Description

Loads Menu based on the text file loaded from FilePath.

Parameters

  • Menu The menu to which the file will load. MENU_1 or MENU_2 are valid.
  • FilePath The path to the target file, relative to the root of the Data assets.

Return Value

None.

Syntax

LoadTextFile(int Menu, string FilePath)

Example

LoadTextFile(MENU_1, "Data/Game/Credits_Mobile.txt")