mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 10:47:39 +02:00
Totem Climb (#660)
* 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
This commit is contained in:
22
Assets/Scripts/Games/TotemClimb/TCTotem.cs
Normal file
22
Assets/Scripts/Games/TotemClimb/TCTotem.cs
Normal file
@ -0,0 +1,22 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user