Exemple #1
0
    public void Enter(Heroine player)
    {
        rbPlayer = player.rb;
        //rbPlayer.transform.localScale *= 0.5f;

        player.UpdateObject("Ducky_Melt");//Sneaking suspicion this is terrible
    }
    public void Enter(Heroine player)
    {
        rbPlayer = player.rb;

        player.UpdateObject("Ducky_Melt");//Sneaking suspicion this is terrible

        vatMat = player.activeGO.GetComponent <MeshRenderer>().material;
        vatMat.SetFloat("_speed", 0.25f);
        vatMat.SetFloat("_time", 0f);


        //time = 0.01f;//For some reason it can flash a single frame of a mid-melt, unknown why, this didn't fix.
        ///The above SetFloat _time fixed it
    }
 public void Enter(Heroine player)
 {
     rbPlayer             = player.rb;
     rbPlayer.isKinematic = true;
     player.UpdateObject("Fan");//Sneaking suspicion this is terrible
 }
Exemple #4
0
 public void Enter(Heroine player)
 {
     rbPlayer = player.rb;
     player.UpdateObject("Melt");//Sneaking suspicion this is terrible
 }
 public void Enter(Heroine player)
 {
     rbPlayer = player.rb;
     player.UpdateObject("Melt");//Sneaking suspicion this is terrible
     timeJumped = Time.fixedTime;
 }