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