17 lines
371 B
C#
17 lines
371 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using UnityEngine;
|
|
|
|
public class UnleasherButton : MonoBehaviour
|
|
{
|
|
public TinkyUnleashingSequence sequence;
|
|
|
|
private void OnTriggerEnter(Collider other)
|
|
{
|
|
if (other.CompareTag("Player Hand") || other.gameObject.layer == 3)
|
|
sequence.Play();
|
|
}
|
|
} |