Various porting patches

This commit is contained in:
Wojtek Figat
2024-01-22 21:17:58 +01:00
parent 37fe11e19f
commit a0e127b9cc
4 changed files with 37 additions and 10 deletions

View File

@@ -352,6 +352,16 @@ namespace Flax.Build
}
}
/// <summary>
/// Calls <see cref="Type.GetType()"/> within Flax.Build context - can be used by build scripts to properly find a type by name.
/// </summary>
/// <param name="name">The full name (namespace with class name).</param>
/// <returns>Type or null if not found.</returns>
public static Type GetType(string name)
{
return Type.GetType(name);
}
/// <summary>
/// Runs the external program.
/// </summary>