public WrappedTMPInputField(TMP_InputField input) { this.input = input; checker = new RebuildChecker(this); }
public static void MatchSource(this RenderTexture src, ref RenderTexture target, RebuildChecker checker = null) { var c = checker ?? RenderTextureTool.CheckNullAndSize; if (c(src, target)) { target?.DestoryObj(); target = TextureManager.Create(src.descriptor); } }