Exemplo n.º 1
0
    public override void End_event()
    {
        SucceedSound.Succeed();

        _anim.SetTrigger("fixed");
        ini = false;
    }
Exemplo n.º 2
0
    public override void End_event()
    {
        SucceedSound.Succeed();

        Debug.Log("gaz safe for now");
        Destroy(timer_script.gameObject);
        timer_script = null;
    }
Exemplo n.º 3
0
    public override void End_event()
    {
        _source.Stop();
        SucceedSound.Succeed();

        _particle.Stop();
        Destroy(timer_script.gameObject);
        timer_script = null;
    }
Exemplo n.º 4
0
    public override void End_event()
    {
        SucceedSound.Succeed();

        playing = false;
        Destroy(timer_script.gameObject);
        timer_script = null;
        _anim.SetTrigger("CutAlarm");
    }
Exemplo n.º 5
0
    public override void End_event()
    {
        SucceedSound.Succeed();
        _source.Stop();

        door.eulerAngles = new Vector3(0, -90, 0);
        Destroy(timer_script.gameObject);
        timer_script = null;
        ini          = false;
    }
Exemplo n.º 6
0
 public override bool Launch_event(Drag_item item_held)
 {
     if (item_held == needed_item /*|| needed_item == Drag_item.none*/)
     {
         //Debug.Log("used"); //ok
         SucceedSound.Succeed();
         PlayerInteraction.inst.Detroy_held_obj();
         return(true);
     }
     return(false);
 }
Exemplo n.º 7
0
    public override void End_event()
    {
        child_particle.SetActive(false);
        particles.Stop();

        SucceedSound.Succeed();

        _source.Stop();
        Destroy(timer_script.gameObject);
        timer_script = null;
    }