using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BubbleUp : MonoBehaviour
{
private Vector3 _moveVelocity;
// Update is called once per frame
private void Update()
{
this.transform.position += new Vector3(0, 1, 0);
if(this.transform.position.y >= 200)
{
Destroy(gameObject);
}
}
}