public void OnGlobalBPressDown(WiiMoteEventData eventData) { if (!this.isDrawing) { this.isErasing = true; factory.Erase(this.transform.position); } }