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


        mCreateDimestions.ActivePerticulerGuide();
        mgameManagement.SetGlassisAdded(true);
        isAddedActiveGlass = true;

        // updateGuide();
    }