博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
unity注意事项
阅读量:7292 次
发布时间:2019-06-30

本文共 358 字,大约阅读时间需要 1 分钟。

1.you can't determine whether or not a child object is currently active in the scene by reading its activeSelf property. Instead, you should use the  property, which takes the overriding effect of the parent into account.

你不能单靠读取一个对象的activeSelf属性值来判断这个对象是否处于激活状态。取而代之的是你应该使用activeInHierarchy属性,它会把父对象的状态考虑在内。

转载于:https://www.cnblogs.com/lovehyy/p/4748955.html

你可能感兴趣的文章
CAAnimation
查看>>
MySQL索引背后的数据结构及算法原理
查看>>
docker 8 docker的镜像命令
查看>>
CentOS 7 开放3306端口访问
查看>>
执行力
查看>>
关于毛刺
查看>>
微信小程序自定义微信客服按钮
查看>>
Ural 1014 Product of Digits NYOJ 270 数的分解 解题报告
查看>>
SPOJ1812 LCS2 - Longest Common Substring II
查看>>
CSS属性(display)
查看>>
具体数学第二版第二章习题(1)
查看>>
第十四章 字符、字符串、编码
查看>>
注意!ASP.NET MVC 3 的一个 OutputCache 问题
查看>>
单行文本垂直居中
查看>>
Remove Element
查看>>
C语言 结构体
查看>>
蓝桥杯-历届试题-公式求值
查看>>
快速排序
查看>>
冒泡排序
查看>>
(七)Action访问Servlet API
查看>>