private void paintTest() { if (Input.GetKey(KeyCode.A)) { red.applyTextureOnPoint(brush.texture, Camera.main.ScreenToWorldPoint(Input.mousePosition), filter.bounds); blue.removeTextureOnPoint(brush.texture, Camera.main.ScreenToWorldPoint(Input.mousePosition)); } else if (Input.GetKey(KeyCode.E)) { blue.applyTextureOnPoint(brush.texture, Camera.main.ScreenToWorldPoint(Input.mousePosition), filter.bounds); red.removeTextureOnPoint(brush.texture, Camera.main.ScreenToWorldPoint(Input.mousePosition)); } }