public static string GetGUID(this MonoBehaviour current) { var scriptFile = ProxyEditor.GetMonoScript(current); string path = File.GetAssetPath(scriptFile); return(ProxyEditor.GetGUID(path)); }