using System.Collections; using System.Collections.Generic; using UnityEngine; public class NewBehaviourScript : MonoBehaviour { int frameCounter; // Start is called before the first frame update void Start() { Debug.Log("The cube is located in"); Debug.Log(transform.position); frameCounter = 0; } // Update is called once per frame void Update() { frameCounter = frameCounter + 1; Debug.Log(frameCounter); } }