示例#1
0
    int myCounter;     //how many tiles have we instantiated?

    void Start()
    {
        myCounter  = 0;
        cameraZoom = Camera.main.GetComponent <CameraZoom>();
        //tileList = new List<Transform>();
        valueStore = GameObject.Find("ValueStore").GetComponent <ValueStore>();
        valueStore.SetStarted();
        StartCoroutine("SpawnFloor");
    }