Instalează Steam
conectare
|
limbă
简体中文 (chineză simplificată)
繁體中文 (chineză tradițională)
日本語 (japoneză)
한국어 (coreeană)
ไทย (thailandeză)
български (bulgară)
Čeština (cehă)
Dansk (daneză)
Deutsch (germană)
English (engleză)
Español - España (spaniolă - Spania)
Español - Latinoamérica (spaniolă - America Latină)
Ελληνικά (greacă)
Français (franceză)
Italiano (italiană)
Bahasa Indonesia (indoneziană)
Magyar (maghiară)
Nederlands (neerlandeză)
Norsk (norvegiană)
Polski (poloneză)
Português (portugheză - Portugalia)
Português - Brasil (portugheză - Brazilia)
Русский (rusă)
Suomi (finlandeză)
Svenska (suedeză)
Türkçe (turcă)
Tiếng Việt (vietnameză)
Українська (ucraineană)
Raportează o problemă de traducere
However, I'm getting an error when I try to edit an object that I've already added some input fields to (using data from the tool). I can move them around using the arrows on the controller, but if I try to type in the position field (which worked when initially creating one) I get this strange error and the object disappears:
Error converting Lua Table entry position to Type UNityEngine.Vector3 on Class LuaUIInputState. Value = MoonSharp.Interpreter.Table. (Error converting Table to Vector, (x,y,z or 1,2,3))<2>
Any thoughts?
function onLoad(save_state)
local data = {
click_function = "setupLeft", function_owner = self,
label = "Choose\nLeft", tooltip = "Choose Bad player",
position = {0.6, -0.3, 2.5}, rotation = {0, 0, 180}, scale = {0.2, 0.2, 0.4},
width = 2600, height = 1600, font_size = 700,
}
self.createButton(data)
data = {
click_function = "setupRight", function_owner = self,
label = "Choose\nRight", tooltip = "Choose Good player",
position = {-0.6, -0.3, 2.5}, rotation = {0, 0, 180}, scale = {0.2, 0.2, 0.4},
width = 2600, height = 1600, font_size = 700
}
self.createButton(data)
end
And yes, I know how to properly save/load your own copy of a table. I've successfully installed scripts to auto-shuffle decks of cards so I at least know that much. But I am very very green with this stuff. Like, if LUA was a spoken language, I'm at the "Hello my name is..." stage of learning.
Used in Time Barons
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1505924807