Beispiel #1
0
    // Start is called before the first frame update
    void Start()
    {
        stopwatch = new TimeKeeper();

        if (gridSceneObject != null)
        {
            gridAPI = gridSceneObject.GetComponent <GridManagerAPI>();
        }

        if (gridAPI == null)
        {
            Debug.LogError("GRID API IS NOT SET, ATTACH GridManagerAPI script to grid parent object.");
        }
    }