Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class Conteggio : MonoBehaviour
- {
- public GameObject panel1;
- public GameObject panel2;
- public GameObject panel3;
- public GameObject panel4;
- // Start is called before the first frame update
- void Start()
- {
- }
- public void checkObjects()
- {
- if(panel1.activeSelf && panel2.activeSelf && panel3.activeSelf && panel4.activeSelf )
- {
- Debug.Log("Hai vinto");
- }
- }
- // Update is called once per frame
- void Update()
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement