mirror of
https://github.com/Kizuren/SynthMaze.git
synced 2025-12-21 13:06:07 +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")]
|
||||
private Rigidbody2D rb;
|
||||
public AudioSource audioSource;
|
||||
public Animator animator;
|
||||
|
||||
[Header("Variables")]
|
||||
|
|
@ -60,7 +59,6 @@ public class SharpBlock : MonoBehaviour
|
|||
if (collision.gameObject.CompareTag("Ground"))
|
||||
{
|
||||
StartCoroutine(ChangeDirection());
|
||||
audioSource.Play();
|
||||
}
|
||||
|
||||
if (collision.gameObject.CompareTag("Player"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue