Exemple #1
0
 void InitBrush()
 {
     uiControler = GameObject.FindObjectOfType <UIControler>();
     for (int i = 0; i < brushTexture.Length; i++)
     {
         uiControler.addBrush((Texture2D)brushTexture[i], i);
     }
 }