You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
756 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShotImg : MonoBehaviour
{
public Transform imgs;
public GameObject input;
public GameObject view;
public GameObject area;
public GameObject nextStep;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (imgs.childCount >= 6) {
nextStep.SetActive(true);
TaskBase.Instacne.FinishTask(4);
}
}
public void next() {
input.SetActive(true);
view.SetActive(false);
area.SetActive(false);
nextStep.SetActive(false);
gameObject.SetActive(false);
}
}