Tanoda
AnimatorTrigger.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine
;
4
5
[RequireComponent(typeof(Animator))]
6
public
class
AnimatorTrigger
: MonoBehaviour
7
{
8
public
void
Trigger
(
string
trigger)
9
{
10
GetComponent<Animator>().SetTrigger(trigger);
11
}
12
}
AnimatorTrigger
Definition:
AnimatorTrigger.cs:7
AnimatorTrigger.Trigger
void Trigger(string trigger)
Definition:
AnimatorTrigger.cs:8
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
AnimatorTrigger.cs
Generated by
1.9.3