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.
由于某种原因,使用标准 ActivateTrigger 脚本的简单触发器不起作用。
我有一个标记为 Is Trigger 的框,并具有 Activate Trigger 脚本组件。它应该打开(激活)这个“房间”中的点灯,称为点灯 1。
如下图所示,一切看起来都应该正确设置。然而,当玩家控制器击中盒子时,灯并没有被激活。
我认为这是因为您的 Component Box Collider 已禁用。只需单击 Box Collider 名称附近的复选框。
文本节点 XSLT 中的标记