private void Awake()
        {
            current = this;

            pathDebug = debugObj.GetComponent <DisplayPath>();

            displayOldCarPositions = debugObj.GetComponent <DisplayOldCarPositions>();

            displayGrid = debugObj.GetComponent <DisplayGrid>();

            obstacleDebug = debugObj.GetComponent <ObstacleDebug>();
        }
Beispiel #2
0
        void Start()
        {
            displayGrid = debugObj.GetComponent <DisplayGrid>();

            obstacleDebug = debugObj.GetComponent <ObstacleDebug>();

            displayPath = debugObj.GetComponent <DisplayPath>();

            menuObj.SetActive(false);

            StartCoroutine(UpdateSpeedText());
        }