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