为什么getCompotent获取不到组件

在MainGame脚本中调用Fruit脚本没法调用成功。MainGame挂载在Canvas,Fruit挂载在Canvas节点topNode的子节点Fruit节点上。

贴代码,上例子