mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-30 05:23:06 +00:00
23 lines
531 B
C#
23 lines
531 B
C#
|
using HeavenStudio.Util;
|
||
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace HeavenStudio.Games.Scripts_TotemClimb
|
||
|
{
|
||
|
public class TCTotem : MonoBehaviour
|
||
|
{
|
||
|
[NonSerialized] public double beat;
|
||
|
[SerializeField] private Animator _anim;
|
||
|
[SerializeField] private Transform _jumperPoint;
|
||
|
public Transform JumperPoint => _jumperPoint;
|
||
|
|
||
|
public void Bop()
|
||
|
{
|
||
|
_anim.DoScaledAnimationAsync("Bop", 0.5f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|