void OnMouseDown() { if (gameObject.name == "boat") { action.ClickBoat(); } else { action.ClickCha(characterController); } }