跳到主要内容

Get Component

Get Component

获取一个组件,可用于各种用途,例如与其他组件进行比较,或作为其他 Command 的输入。

输出

  • Component:目标组件
提示

你也可以把一个 Component(不是 GameObject)直接 到节点区域,作为快捷方式自动创建一个 Get Component Command。

参见 跨场景系统.