Example #1
0
 public void DetailSelect()
 {
     MainMenuManager.manage.svChecked.isCheckBody   = false;
     MainMenuManager.manage.svChecked.isCheckWheels = false;
     MainMenuManager.manage.svChecked.isCheckDetail = true;
     ColorActive.SetActive(false);
     ColorActive1.SetActive(false);
     ColorActive2.SetActive(true);
     _tuningScript._bodycolor.GetComponent <Animator>().SetBool("push", false);
     _tuningScript._wheelcolor.GetComponent <Animator>().SetBool("push", false);
     _tuningScript._detailcolor.GetComponent <Animator>().SetBool("push", true);
 }
Example #2
0
 public void onClickColor()
 {
     CustomizeEnginePanel.SetActive(false);
     ColorPickerPanel.SetActive(true);
     MainMenuManager.manage.svChecked.isCheckBody = true;
     ColorActive.SetActive(true);
     ColorActive1.SetActive(false);
     ColorActive2.SetActive(false);
     CarConfig.SetActive(false);
     Amplitude.Instance.logEvent("Tuning->Color");
     //button animation
     _body.GetComponent <Animator>().SetBool("push", false);
     _engine.GetComponent <Animator>().SetBool("push", false);
     _color.GetComponent <Animator>().SetBool("push", true);
     _bodycolor.GetComponent <Animator>().SetBool("push", true);
 }