找回密码
 立即注册
楼主: 暮林

[常见问题] 各位前辈们,我的Java脚本为什么不能保存呢?

[复制链接]
发表于 2014-11-11 11:47 | 显示全部楼层 |阅读模式
重装过了    结果还是不能保存   完全的学徒    希望前辈们帮我指出来一下    不知道是哪儿的错误  


脚本:
#pragma strict


function Start () {


}


function Update () {
transform.Translate(Vector3.forward*Time.deltaTime);
}








这是脚本语句 只有一句
 楼主| 发表于 2014-11-11 11:50 | 显示全部楼层
我不会发图片

这是错误信息:


Error while executing command: Save



然后点开的详细信息:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: The process cannot access the file because it is being used by another process.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.__Error.WinIOError()

   at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)

   at Mono.TextEditor.Utils.TextFileUtility.SystemRename(String sourceFile, String destFile) in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\core\Mono.Texteditor\Mono.TextEditor.Utils\TextFileUtility.cs:line 206

   at Mono.TextEditor.Utils.TextFileUtility.WriteText(String fileName, String text, Encoding encoding, Boolean hadBom) in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\core\Mono.Texteditor\Mono.TextEditor.Utils\TextFileUtility.cs:line 193

   at MonoDevelop.SourceEditor.SourceEditorView.Save(String fileName, Encoding encoding) in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\addins\MonoDevelop.SourceEditor2\MonoDevelop.SourceEditor\SourceEditorView.cs:line 672

   at MonoDevelop.SourceEditor.SourceEditorView.Save(String fileName) in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\addins\MonoDevelop.SourceEditor2\MonoDevelop.SourceEditor\SourceEditorView.cs:line 588

   at MonoDevelop.Ide.Gui.Document.Save() in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Document.cs:line 355

   at MonoDevelop.Ide.Gui.ViewCommandHandlers.OnSaveFile() in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\ViewCommandHandlers.cs:line 65

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

   at MonoDevelop.Components.Commands.CommandHandlerInfo.Run(Object cmdTarget, Command cmd) in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 1922

   at MonoDevelop.Components.Commands.CommandManager.<>c__DisplayClassb.<DispatchCommand>b__2() in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 1045

   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source) in c:\BuildAgent\work\d478831d940d36a4\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 1062
发表于 2017-3-9 20:20 | 显示全部楼层
很不错
发表于 2017-3-9 20:17 | 显示全部楼层
楼主是超人
发表于 2017-3-9 20:57 | 显示全部楼层
顶顶多好
发表于 2017-3-9 20:18 | 显示全部楼层
很好哦
发表于 2017-3-9 20:24 | 显示全部楼层
LZ真是人才
发表于 2017-5-5 10:47 | 显示全部楼层
很不错
发表于 2017-5-5 10:29 | 显示全部楼层
顶顶多好
发表于 2017-5-5 10:49 | 显示全部楼层
真心顶
懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Unity开发者联盟 ( 粤ICP备20003399号 )

GMT+8, 2024-11-23 09:04 , Processed in 0.067877 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表