Typo
This commit is contained in:
@@ -230,7 +230,7 @@ namespace Barotrauma
|
||||
/// in the way by converting the List`1 to a MoonSharp.Interpreter.Table and breaking everything.
|
||||
/// Wrapping the value in a userdata preserves the original type during conversions.
|
||||
/// </summary>
|
||||
/// <param name="scriptObject">Lua value to conert and wrap in a userdata.</param>
|
||||
/// <param name="scriptObject">Lua value to convert and wrap in a userdata.</param>
|
||||
/// <param name="desiredType">The CLR type of the object to convert the Lua value to. Uses MoonSharp ScriptToClr converters. Lua scripts can obtain Types from descriptors.</param>
|
||||
/// <returns>A userdata that wraps the Lua value converted to an object of the desired type.</returns>
|
||||
public static DynValue CreateUserDataOfType(DynValue scriptObject, Type desiredType)
|
||||
|
||||
Reference in New Issue
Block a user