public static void ShowWindow ( GameObject springBoneRoot, GameObject colliderRoot, string path, IEnumerable <DynamicsSetup.ParseMessage> errors, IConfirmAction onConfirm ) { var window = GetWindow <SpringBoneSetupErrorWindow>("ダイナミクスセットアップ"); window.springBoneRoot = springBoneRoot; window.colliderRoot = colliderRoot; window.filePath = path; window.onConfirmAction = onConfirm; window.errors = errors.ToArray(); }