使用拖尾渲染器 (trail renderer) 时,不能在游戏对象 (gameobject)上使用其他渲染器。最好是创建一个空白的游戏对象 (gameobject),并附加拖尾渲染器 (trail renderer) 作为唯一的渲染器。
基于503个网页-相关网页
Main Camera GameObject 以主相机游戏对象
The GameObject-Component Relationship 游戏对象和组件的关系
Create GameObject 在场景中创建一个空物体
When you attach a Component to a GameObject, there are different values or Properties in the Component that can be adjusted in the editor while building a game, or by scripts when running the game.
当你为游戏对象附加一个组件,该组件有不同的值或属性,它们可以在你建立游戏时在编辑器里进行调整,或者在运行游戏时由脚本来调整。
Make sure your GameObject has a Collider Component attached to it.
确保你的游戏对象有一个碰撞器组件连接到它。
They might collide with a GameObject that only contains a Collider.
可以和只包含碰撞器的游戏对象碰撞。
应用推荐