安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








After drawing the second from the last card using deck.takeObject, the decks GUID reference no longer exists because the deck itself doesn't exist as an object on the table. Therefore, I had the script watch for when the last card is spawned, and then it uses onObjectSpawn to acquire the cards GUID. The cardRef is then used under "if deck == nil" so as to rename and move the last card.
newCard is a reference to a card pulled from the deck using takeObject.
cardRef is a reference to the last card, created by onObjectSpawn.
The two references need to exist at the same time, because the reference for the final card is created at the same time the second to last card is still being manipulated with the old reference. If you were to replace the cardRef with newCard, the last card will not be moved because the card before it is still using the newCard reference.
I hope this answers your question and doesn't go to further confuse you. If you have any additional questions, or still don't understand what I described above, feel free to let me know. Good Luck.
~Hiram
Correct; if you want to use a backslash, just use a backslash before it, i.e "double backslash".
'The chef\'s cake scored an 8\\10.'