mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-23 01:55:16 +00:00
ccfc528d99
* setup * scroll stuff * tons of stuff * totem bop * bopping and new assets * soem more * frog fit * fixed order of operation issue * triple proto * wow i love super curves * TRIPLE JUMP * frog fall * the spinny * dragon initial * functional dragon * fixed un bug * the deets * the deets have been fixed * miss stuff * smol fix * no log * fixed some issues * switch to next state * particle * remove useless logic * zoomed out * sound and line fix * new bg sheet * minor tweaks * pillar tops * background objects * background tweak * triple sound tweak * background rework * frog wings and new jump anim * fix * birds * disable pillars * landing end * fix again * minor fix * fixes and icon * background scroll logic rework * put in fixed sheet * fixed sounds
27 lines
645 B
C#
27 lines
645 B
C#
using HeavenStudio.Util;
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace HeavenStudio.Games.Scripts_TotemClimb
|
|
{
|
|
public class TCDragon : MonoBehaviour
|
|
{
|
|
[NonSerialized] public double beat;
|
|
[SerializeField] private Animator _anim;
|
|
[SerializeField] private Transform _jumperPoint;
|
|
public Transform JumperPoint => _jumperPoint;
|
|
|
|
public void Hold()
|
|
{
|
|
_anim.DoScaledAnimationAsync("Hold", 0.25f);
|
|
}
|
|
|
|
public void Release()
|
|
{
|
|
_anim.DoScaledAnimationAsync("Release", 0.5f);
|
|
}
|
|
}
|
|
}
|
|
|