bihailvlin
发表于 2015-7-31 16:45
Unity3D中如何访问其他脚本的变量,最好有例子说明一下,谢谢!!!
比如在Unity3D中的Enemy.cs如何才能访问GameManager.cs脚本的scrore变量?
爱殇
发表于 2015-8-10 16:07
把GameManager写成单例模式就好了!也可以把GameManager写成一个公共类!
1965285557
发表于 2017-4-1 14:37
好帖就是要顶
Alex
发表于 2017-4-1 15:21
难得一见的好帖
1965285557
发表于 2017-4-1 14:56
说的非常好
yanseyundao37
发表于 2017-4-1 14:54
不错不错
Alex
发表于 2017-4-1 15:15
LZ真是人才
jofly
发表于 2017-8-4 20:20
楼主是超人
maxpin08
发表于 2017-8-4 20:32
好帖就是要顶
jofly
发表于 2017-8-4 20:29
难得一见的好帖
页:
[1]