摘要: unity中提供了获取对象的五种方法: Find方法: static GameObject Find (string name) 传入的name可以是单个的对象的名字,也可以是hierarchy中的一个路径名,如果找到会返回该对象(活动的),如果找不到就返回null。 阅读全文