Skip to content

Commit 14cb33a

Browse files
Fix whitespace. Remove unused #include.
1 parent 2d10f5d commit 14cb33a

3 files changed

Lines changed: 13 additions & 8 deletions

File tree

Unity/Assets/NativeScript/Bindings.cs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3053,7 +3053,8 @@ public SystemAction(int cppHandle)
30533053
{
30543054
CppHandle = cppHandle;
30553055
Delegate = Invoke;
3056-
}
3056+
}
3057+
30573058
public void Invoke()
30583059
{
30593060
if (CppHandle != 0)
@@ -3185,7 +3186,8 @@ public SystemActionSystemSingle(int cppHandle)
31853186
{
31863187
CppHandle = cppHandle;
31873188
Delegate = Invoke;
3188-
}
3189+
}
3190+
31893191
public void Invoke(float obj)
31903192
{
31913193
if (CppHandle != 0)
@@ -3317,7 +3319,8 @@ public SystemActionSystemSingle_SystemSingle(int cppHandle)
33173319
{
33183320
CppHandle = cppHandle;
33193321
Delegate = Invoke;
3320-
}
3322+
}
3323+
33213324
public void Invoke(float arg1, float arg2)
33223325
{
33233326
if (CppHandle != 0)
@@ -3449,7 +3452,8 @@ public SystemFuncSystemInt32_SystemSingle_SystemDouble(int cppHandle)
34493452
{
34503453
CppHandle = cppHandle;
34513454
Delegate = Invoke;
3452-
}
3455+
}
3456+
34533457
public double Invoke(int arg1, float arg2)
34543458
{
34553459
if (CppHandle != 0)
@@ -3586,7 +3590,8 @@ public SystemFuncSystemInt16_SystemInt32_SystemString(int cppHandle)
35863590
{
35873591
CppHandle = cppHandle;
35883592
Delegate = Invoke;
3589-
}
3593+
}
3594+
35903595
public string Invoke(short arg1, int arg2)
35913596
{
35923597
if (CppHandle != 0)
@@ -3723,7 +3728,8 @@ public SystemAppDomainInitializer(int cppHandle)
37233728
{
37243729
CppHandle = cppHandle;
37253730
Delegate = Invoke;
3726-
}
3731+
}
3732+
37273733
public void Invoke(string[] args)
37283734
{
37293735
if (CppHandle != 0)

Unity/Assets/NativeScript/Editor/GenerateBindings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5313,7 +5313,7 @@ static void AppendDelegate(
53135313
builders.CsharpFunctions.Append("\t\t\t{\n");
53145314
builders.CsharpFunctions.Append("\t\t\t\tCppHandle = cppHandle;\n");
53155315
builders.CsharpFunctions.Append("\t\t\t\tDelegate = Invoke;\n");
5316-
builders.CsharpFunctions.Append("\t\t\t}");
5316+
builders.CsharpFunctions.Append("\t\t\t}\n");
53175317
builders.CsharpFunctions.Append("\t\t\t\n");
53185318
builders.CsharpFunctions.Append("\t\t\tpublic ");
53195319
AppendCsharpTypeName(

Unity/CppSource/Game/Game.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
/// </license>
1010

1111
#include "Bindings.h"
12-
#include <stdio.h>
1312

1413
using namespace System;
1514
using namespace UnityEngine;

0 commit comments

Comments
 (0)