当前位置:网站首页>Unity 如何拖拉多个组件中的一个
Unity 如何拖拉多个组件中的一个
2022-06-30 19:05:00 【foenix66】
有时候我们要将一个节点上某一个特定的Component拖到属性面板上,默认只能拖拉第一个符合类型的Component。
如果属性类型为Component这种不确定类型,就很难拖拉选中需要的Component
如
private List<Component> streams = new List<Component>();
这时候可以打开两个Inspector面板,锁定其中一个,直接拖拉Component到属性表上,如下图
边栏推荐
- 【DesignMode】工厂模式 (factory pattern)
- 一文读懂目标检测:R-CNN、Fast R-CNN、Faster R-CNN、YOLO、SSD「建议收藏」
- FH6908A负极关断同步整流模拟低压降二极管控制IC芯片TSOT23-6超低功耗整流器 1w功耗 <100uA静态 替代MP6908
- There are three ways to create instances by reflection (2022.6.6-6.12)
- 更智能!AIRIOT加速煤炭行业节能减排升级
- 力扣------统计包含给定前缀的字符串
- dataloader 源码_DataLoader
- 派尔特医疗在港交所招股书二次“失效”,上市计划实质性延迟
- 【多线程】使用线程池、实现一个简单线程池
- [multithreading] use the thread pool to implement a simple thread pool
猜你喜欢

Promise from recognition to use

【DesignMode】工厂模式 (factory pattern)

测试人进阶技能:单元测试报告应用指南

更智能!AIRIOT加速煤炭行业节能减排升级

This morning, investors began to travel collectively

FH6908A负极关断同步整流模拟低压降二极管控制IC芯片TSOT23-6超低功耗整流器 1w功耗 <100uA静态 替代MP6908

成长一夏 挑战赛来袭 专属社区福利来袭~免费获得CSDN定制T恤衫

6-1漏洞利用-FTP漏洞利用

Why do more and more people choose cloud rendering?

WordPress 博客使用火山引擎 veImageX 进行静态资源 CDN 加速(免费)
随机推荐
二叉树终章
Pyth Solana is a bridge connecting reality on the chain
线上线下双结合,VR全景是家具线上转型好方法!
Buttons to achieve various effects and functions. Reading this article is enough
解决arm_release_ver of this libmali is ‘g2p0-01eac0‘,rk_so_ver is ‘4‘,libgl1-mesa-dev不会被安装,存在未满足的依赖关系
Task01:初识数据库与SQL(笔记1)
[JetsonNano] [教程] [入门系列] [一] 如何开启VNC共享
c语言数组截取,C# 字符串按数组截取方法(C/S)
Warmup预热学习率「建议收藏」
今早,投资人开始集体出差
FH6908A负极关断同步整流模拟低压降二极管控制IC芯片TSOT23-6超低功耗整流器 1w功耗 <100uA静态 替代MP6908
美国服务器租用和托管服务哪个好?
漫画 | Oracle 被新时代抛弃了吗?
Force deduction ----- count the string containing the given prefix
Simple usage of LinkedList (2022.6.13-6.19)
RP原型资源分享-购物类App
ABAQUS 2022最新版——完善的现实仿真解决方案
Tupu software has passed CMMI5 certification| High authority and high-level certification in the international software field
There are three ways to create instances by reflection (2022.6.6-6.12)
Is it safe to open an account for mobile phone stock trading!?