Show / Hide Table of Contents

Property LoadImageMethod

| Edit this page View Source

LoadImageMethod

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
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾