Test Animací - fail
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class DoorController : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Animator doorLAnimator;
|
||||
[SerializeField] private Animator doorRAnimator;
|
||||
|
||||
public void OpenDoor()
|
||||
{
|
||||
doorLAnimator.SetTrigger("Open");
|
||||
doorRAnimator.SetTrigger("Open");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user