public override void ExecuteAction(IAvatar avatar) { avatar.transform.root.BroadcastMessage("OnLeaveVehicle"); avatar.AssignVehicle(avatar.transform.root.GetComponentInChildren <CharacterWalking>()); }