private void Start() { setGlasstype.SetActive(false); // FindObjectOfType<GuideManager>().setrecheck(false); mCreateDimestions = FindObjectOfType <CreateDimentions>(); mglassmanagement = FindObjectOfType <GlassManageMent>(); mgameManagement = FindObjectOfType <GameManageMentControll>(); mgameManagement.SetGlassisAdded(false); }
private void Deleteifadded() { if (mglassManagementcontroll.GetIsGlassIsAdded()) { Debug.Log("Glass is reduced"); FindObjectOfType <GlassManageMent>().DeceaseProperNoofGlassesActive(); FindObjectOfType <CreateDimentions>().ActivePerticulerGuide(); mglassManagementcontroll.SetGlassisAdded(false); } }
private void DeactivethioneandActiveother(GameObject activeobeject) { mglassmanagement.setnoofProperGlassesAlive(); mCreateDimestions.ActivePerticulerGuide(); mgameManagement.SetGlassisAdded(true); isAddedActiveGlass = true; // updateGuide(); }