最新回答 / 晓风清雅
课程后面有资料下载链接。
+ 我来回答
回答最高可+2积分
GDGeek代码的开源地址https://coding.net/u/gdgeek/p/qa/git/tree/master/Assets/Plugin/GDGeek
2016-05-07
private Square[] list_ = null;
void Awake()
{
list_ = this.GetComponentInChildren<Square> ();
之后vs会报错
Cannot implicitly convert type Square to Square[]
void Awake()
{
list_ = this.GetComponentInChildren<Square> ();
之后vs会报错
Cannot implicitly convert type Square to Square[]
2016-04-27
ArgumentException: GetComponent requires that the requested component 'Square[]' derives from MonoBehaviour or Component or is an interface.怎么回事
2016-04-27
最新回答 / Songlan
就是找到那个方块square.gameObject.setActive(true);启用这个 方块,就可以显示啦。你看play的start方法里面,隐藏了的,哪里用的就是false
2016-04-27