public void ViewButtonPressed() { BGImage.SetActive(false); Panel.SetActive(false); //CarModel.SetActive (true); bgimageforcarmodel.SetActive(true); ExteriorButton.SetActive(true); InteriorButton.SetActive(true); RawImage.SetActive(false); //CarModel.GetComponent<BoxCollider> (); //ExteriorButton.SetActive(true); //InteriorButton.SetActive(true); }
// Use this for initialization public void DesignButtonPressed() { BGImage.SetActive(true); Panel.SetActive(true); bgimageforcarmodel.SetActive(false); //CarModel.SetActive (false); ExteriorButton.SetActive(false); InteriorButton.SetActive(false); RawImage.SetActive(false); // CarModel.SetActive (true); // GameObject varGameObject = GameObject.Find("FireGTO"); // varGameObject.GetComponent<rotate>().enabled = true; }