Skip to content

Commit 37a7a1b

Browse files
committed
Fix typo
1 parent 1e11958 commit 37a7a1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manual/scripting/cpp/interfaces.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ DECLARE_SCRIPTING_TYPE(InterfaceInCpp);
8484
auto interface = ToInterface<IMyInterface>(MyInterface);
8585
if (interface)
8686
{
87-
// Call interface method (with with both C++ and C# interface implementations)
87+
// Call interface method (works with both C++ and C# interface implementations)
8888
interface->GetSpeed(Vector3::One);
8989
}
9090
}
@@ -104,7 +104,7 @@ public class InterfaceInCSharp : Script, IMyInterface
104104
var inter = MyInterface as IMyInterface;
105105
if (inter != null)
106106
{
107-
// Call interface method (with with both C++ and C# interface implementations)
107+
// Call interface method (works with both C++ and C# interface implementations)
108108
inter.GetSpeed(Vector3.One);
109109
}
110110
}

0 commit comments

Comments
 (0)