Initial commit
This commit is contained in:
18
Assets/Scripts/PoliceIdle.cs
Normal file
18
Assets/Scripts/PoliceIdle.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class PoliceIdle : MonoBehaviour
|
||||
{
|
||||
private Animator animator;
|
||||
|
||||
void Start()
|
||||
{
|
||||
animator = GetComponent<Animator>();
|
||||
|
||||
if (animator != null)
|
||||
{
|
||||
animator.Play("idle_selfcheck_1_300f");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user