public void SwitchShowView() { if (!actionLogView.view.activeSelf) { actionLogView.Show(); } else { actionLogView.Hide(); } }