Add option to change Visual Script parameter type
This commit is contained in:
@@ -1106,6 +1106,17 @@ namespace FlaxEditor.Scripting
|
||||
throw new NotImplementedException("TODO: Script.Type.GetGenericTypeDefinition for custom types");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a type object that represents an array of the current type.
|
||||
/// </summary>
|
||||
/// <returns>A type object representing a one-dimensional array of the current type.</returns>
|
||||
public ScriptType MakeArrayType()
|
||||
{
|
||||
if (_managed != null)
|
||||
return new ScriptType(_managed.MakeArrayType());
|
||||
throw new NotImplementedException("TODO: Script.Type.MakeArrayType for custom types");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Searches for the specified members of the specified member type, using the specified binding constraints.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user