mirror of
https://github.com/Kizuren/SynthMaze.git
synced 2025-12-21 21:16:08 +01:00
Update SharpBlock.cs
This commit is contained in:
parent
a3be370f4a
commit
742bdf0195
1 changed files with 0 additions and 2 deletions
|
|
@ -6,7 +6,6 @@ public class SharpBlock : MonoBehaviour
|
||||||
{
|
{
|
||||||
[Header("GameObjects")]
|
[Header("GameObjects")]
|
||||||
private Rigidbody2D rb;
|
private Rigidbody2D rb;
|
||||||
public AudioSource audioSource;
|
|
||||||
public Animator animator;
|
public Animator animator;
|
||||||
|
|
||||||
[Header("Variables")]
|
[Header("Variables")]
|
||||||
|
|
@ -60,7 +59,6 @@ public class SharpBlock : MonoBehaviour
|
||||||
if (collision.gameObject.CompareTag("Ground"))
|
if (collision.gameObject.CompareTag("Ground"))
|
||||||
{
|
{
|
||||||
StartCoroutine(ChangeDirection());
|
StartCoroutine(ChangeDirection());
|
||||||
audioSource.Play();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (collision.gameObject.CompareTag("Player"))
|
if (collision.gameObject.CompareTag("Player"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue