Example #1
0
 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);
     }
 }
Example #2
0
 public void Click_Switch_Color()
 {
     FluidCtrl.SwithBackgroundColor();
 }