假设现在有游戏对象 Ball ,在场景的层次结构为: Level/Content/Ball。 在编辑器里设置 Ball 为不激活,此时
GameObject.Find("Ball"); // null 找不到对象 GameObject.Find("Content/Ball"); //null 找不到对象 GameObject.Find("Level/Content/Ball"); //能找到