bubble_shooter_2d/Assets/Scripts/SwapBubble.cs
2022-12-30 23:30:32 +05:00

18 lines
245 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwapBubble : MonoBehaviour
{
public Shooter shootScript;
public void OnMouseDown()
{
if (shootScript)
{
shootScript.SwapBubbles();
}
}
}