static public void showBioFileContent() { UnityEngine.Object obj = Selection.objects [0]; string path = AssetDatabase.GetAssetPath(obj);//Selection表示你鼠标选择激活的对象 object _obj = Utl.fileToObj(path); if (_obj is Hashtable) { Debug.Log(Utl.MapToString((Hashtable)_obj)); } else if (_obj.GetType() == typeof(NewList) || _obj.GetType() == typeof(ArrayList)) { Debug.Log(Utl.ArrayListToString2((ArrayList)_obj)); } else { Debug.Log(_obj.ToString()); } }