Prefab动态修改无效的解决方案
来源:互联网 发布:西门子200plc编程实例 编辑:程序博客网 时间:2024/05/16 14:14
To save anything on a prefab it must be done from an editor script, where you assign it to the array and then use the SetDirty function to tell the editor that the data has changed and requires saving。
EditorUtility.SetDirty(asset)Mark:当在代码中修改其他的一些资源文件如"scriptableObject","NGUI 's Atlas" 等也需要这样处理。
0 0
- Prefab动态修改无效的解决方案
- cocos creator prefab中的label设置容无效的问题
- centos/linux wdcp下修改php.ini无效的解决方案
- 编码问题,修改mysql ini文件无效的一种解决方案
- echarts修改图元大小无效的解决方案
- MUI动态加载数据后,scrollToBottom无效的解决方案
- NativeBase StyleProvider动态切换无效的bug解决方案
- Unity批处理修改prefab
- unity3d 动态加载 prefab
- ios动态修改title无效的处理方式
- FormAuthenticationFilter无效的解决方案
- @Transactional 无效的解决方案
- @Transactional 无效的解决方案
- Unity Editor下 修改 Prefab
- Unity3D 动态实例化Prefab
- Unity3D: 动态加载Prefab
- EL表达式无效的解决方案
- android notifyDataSetChanged 无效的解决方案
- c++ primer(第五版)笔记 第九章 顺序容器(2)
- LDA-math-MCMC 和 Gibbs Sampling
- 黑马程序员——流程控制语句
- Android帧缓冲区(Frame Buffer)硬件抽象层(HAL)模块Gralloc的实现原理分析
- Zabbix如何监控Windows机器
- Prefab动态修改无效的解决方案
- sprintf,你知道多少?
- 【算法导论学习-27】动态规划经典问题01:钢条切割的最大收益
- 在Jenkins上用Ant 编译android程序并在真机上运行
- linux实时时钟驱动一之API编程接口
- C++ 11 新特性集合
- __attribute__知多少?
- poj 3268 (最短路 spfa)
- php URL加密、解密