Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 for 循环中间,我更改布局以进行查找,但它从未真正切换布局。如果我制作一个独立的脚本,我告诉它去布局“x”它工作正常但是如果我从我的循环中调用该脚本或者我在循环中以相同的方式执行它不会改变
有谁知道为什么这不起作用?
你怎么知道它不起作用?如果您只是简单地运行它,您可能不会注意到它是如何变化的。尝试在调试器中运行脚本或在 Go to Layout 命令后添加暂停。