21 lines
415 B
C#
21 lines
415 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class mesh193 : MonoBehaviour
|
|
{
|
|
public Animator _Animator;
|
|
|
|
private int anim = Animator.StringToHash("bo");
|
|
|
|
private void OnTriggerEnter(Collider other)
|
|
{
|
|
if (other.gameObject.name=="OVRPlayerController")
|
|
{
|
|
|
|
_Animator.SetTrigger(anim);
|
|
}
|
|
}
|
|
}
|