using System.Collections; using System.Collections.Generic; using UnityEngine; public class StartAnimator : MonoBehaviour { // Start is called before the first frame update public string Trigger; public Animator camAnimator; void Start() { camAnimator.SetTrigger(Trigger); } // Update is called once per frame void Update() { } }