Karate Man started.

This commit is contained in:
Starpelly
2021-12-29 01:52:48 -05:00
parent c653d487ac
commit 88f13795a9
127 changed files with 5877 additions and 46 deletions

View File

@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RhythmHeavenMania.Util;
namespace RhythmHeavenMania.Games.KarateMan
{
public class KarateMan : Minigame
{
public GameObject Pot;
public static KarateMan instance { get; set; }
private void Awake()
{
instance = this;
}
public void Shoot(float beat)
{
GameObject pot = Instantiate(Pot);
pot.transform.parent = Pot.transform.parent;
pot.SetActive(true);
pot.GetComponent<Pot>().startBeat = beat;
Jukebox.PlayOneShotGame("karateman/objectOut");
}
}
}