Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Debug = UnityEngine.Debug;
- public class FORScheck : MonoBehaviour
- {
- public ScoreHolder ScoreH;
- void Start(){
- GameObject g = GameObject.FindGameObjectWithTag(ScoreKeep);
- ScoreH = g.GetComponent<ScoreHolder>();
- }
- private void Awake()
- {
- if (ScoreH.Succeeded == true){
- Debug.Log("Succeeded!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement