Skip to content

Commit

Permalink
Renamed string tables to match those in the cloud.
Browse files Browse the repository at this point in the history
  • Loading branch information
macmillan333 committed Apr 16, 2023
1 parent 058a7d9 commit 580ff17
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
File renamed without changes.
File renamed without changes.
10 changes: 1 addition & 9 deletions TECHMANIA/Assets/UI/MainScript.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ unity = api.unity
util = api.util
eventType = tm.enum.eventType

tm.l10n.Initialize(tm.io.LoadTextFileFromTheme("Assets/UI/String Table.csv"))
tm.l10n.Initialize(tm.io.LoadTextFileFromTheme("Assets/UI/String Table (default theme).csv"))
tm.l10n.ApplyLocale()
callbacksOnLocaleChange = {}

Expand Down Expand Up @@ -39,14 +39,6 @@ LoadAndExecute("Assets/UI/Scripts/Navigation.txt")
SetUpNavigation()
mainMenu.Show()

tm.StartCoroutine(function()
coroutine.yield()
local testElement = tm.root.Q("test")
print("contentRect: " .. testElement.contentRect.ToString())
print("localBound: " .. testElement.localBound.ToString())
print("worldBound: " .. testElement.worldBound.ToString())
end)

-- Array/table example

-- local testArray = {}
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 580ff17

Please sign in to comment.