private Square[] list_ = null;
void Awake()
{
list_ = this.GetComponentInChildren<Square> ();
之后vs會(huì)報(bào)錯(cuò)
Cannot implicitly convert type Square to Square[]
void Awake()
{
list_ = this.GetComponentInChildren<Square> ();
之后vs會(huì)報(bào)錯(cuò)
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