public WrappedTMPInputField(TMP_InputField input)
 {
     this.input = input;
     checker    = new RebuildChecker(this);
 }
Esempio n. 2
0
        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);
            }
        }