Property LoadImageMethod
| Edit this page View SourceLoadImageMethod
Method reference to ImageConversion.LoadImage(Texture2D, byte[]).
Workaround for compiling a net 4.x mod against the nestandard 2.1 method:
byte[] textureData;
Texture2D texture = new Texture2D(2, 2);
LoadImageMethod.Invoke(null, new object[] { texture, textureData });
Declaration
public static MethodInfo LoadImageMethod { get; }
Property Value
Type | Description |
---|---|
MethodInfo |