示例#1
0
 void ActivateLighter()
 {
     theFire.SetActive(true);
     //StartCoroutine("changecondition");
     //gameObject.SetActive(true);
     //anim.SetBool("Lighter", true);
     Lighterisup = true;
     lighterMesh.SetActive(true);
     lighterSFX.PlayClipSet1();
     if (lighterUIManager.canDeactivate)
     {
         lighterUIManager.qToActivateState(false);
         lighterUIManager.lighthAcquiredState(false);
         lighterUIManager.canDeactivate = false;
     }
 }