Hi there,
I want to to play two animations at the same time when someone mouseclicks on something. Is it possible to this within the void OnMouseDown? This is what I have but it doesn’t work.
using UnityEngine;
using System.Collections;
public class LiftOmhoog : MonoBehaviour
{
public Animator anim;
void OnMouseDown()
{
anim.SetTrigger("NaarBoven");
anim.SetTrigger("LiftOmhoog");
}
}
Thanks in advance for answering!
Cheers,
Jonah