18 lines
245 B
C#
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();
|
|
}
|
|
}
|
|
|
|
}
|