Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdad20b0

Browse files
committed
Fix wait node bug(C#)
1 parent967c634 commitdad20b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎tools/designer/Plugins/PluginBehaviac/NodeExporters/Cs/Actions/WaitCsExporter.cs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ protected override void GenerateMethod(Node node, StringWriter stream, string in
7878

7979
if(wait.Time!=null)
8080
{
81-
stream.WriteLine("{0}\t\tprotected override double GetTime(Agent pAgent)",indent);
81+
stringstrMethod="{0}\t\tprotected override "+(Workspace.Current.UseIntValue?"int GetIntTime(Agent pAgent)":"double GetTime(Agent pAgent)");
82+
stream.WriteLine(strMethod,indent);
83+
8284
stream.WriteLine("{0}\t\t{{",indent);
8385

8486
stringretStr=RightValueCsExporter.GenerateCode(node,wait.Time,stream,indent+"\t\t\t",string.Empty,string.Empty,"Time");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp