void cancelInput() { roadNetwork.DestroyBuffer(); previousPoint = null; currentPoint = null; startNewObject = true; Debug.Log("Input cancelled"); }