Martiiic
✅ HAVING TROUBLE CALLING A FUNCTION
public void JugadorAltarHandler()
{
PauseDelayBool = false;
Enemic.PlayerEnterAltar();
anim.SetTrigger("AltarActivat");
JocPausat = true;
currentSpeed = this.velocitat;
rb.velocity = Vector3.zero;
velocitat = 0f;
}
public void JugadorAltarLoopAnimation()
{
anim.SetBool("AltarActivat2", true);
StartCoroutine(OpenAltarTab());
}
IEnumerator OpenAltarTab()
{
yield return new WaitForSeconds(2.4f);
AltarMenu.OpenAltarMenu();
InAltarMenu = true;
}
public void JugadorExitAltarHandler()
{
anim.SetBool("AltarActivat2", false);
anim.SetTrigger("ExitAltar");
Enemic.PlayerExitAltar();
this.velocitat = currentSpeed;
}
55 replies