public void Click() { if (type == TypeButton.HideInfo1 || type == TypeButton.HideInfo2 || type == TypeButton.HideHelper) { gameObject.transform.Rotate(0, 0, 180); switch (type) { case TypeButton.HideInfo1: AppRootStatic.SetActiveLabel(TypeLabel.AppMenuInfo1, !AppRootStatic.isActive(TypeLabel.AppMenuInfo1)); break; case TypeButton.HideInfo2: AppRootStatic.SetActiveLabel(TypeLabel.AppMenuInfo2, !AppRootStatic.isActive(TypeLabel.AppMenuInfo2)); break; case TypeButton.HideHelper: AppRootStatic.SetActiveLabel(TypeLabel.AppMenuHelp, !AppRootStatic.isActive(TypeLabel.AppMenuHelp)); break; } return; } if (type == TypeButton.Task) { GetComponentInChildren <RawImage>().transform.Rotate(0, 0, 180); } AppRootStatic.OnButtonClick(type, type == TypeButton.Viewer ? NumberModel:0); }