March 2018
Beginner
336 pages
8h 6m
English
Let's start with our cucumber count:
With the script open, make the necessary modifications to match the script provided, as follows:
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CucumberManager : MonoBehaviour { public int currentCucumberCount; Text Cucumber_Count; public GameObject[] cucumbers; void Awake () { Cucumber_Count = GetComponent<Text> (); currentCucumberCount = 0; } void Update () { cucumbers = GameObject.FindGameObjectsWithTag ...Read now
Unlock full access