public void On_My_click() { if (fluidCtrl == null) { RenderTexture rt = new RenderTexture(300, 100, 0, RenderTextureFormat.ARGBHalf); rawimage.texture = rt; // target = rt; fluidCtrl = new FluidCtrl(rt, null, shaderBuildinHelper); } }
public void Click_Switch_Color() { FluidCtrl.SwithBackgroundColor(); }