Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        //Debug.Log(NearEdge(new Helper.IntVector3(15, 15, 15), 7).ToString());
        //Debug.Log(FarEdge(new Helper.IntVector3(15, 15, 15), 7).ToString());

        center           = new Helper.IntVector3(this.transform.position);
        testMapLayered2D = EnviroGenerator.DeliverLayered2DMap(0);

        testGF = GameObject.FindGameObjectWithTag("Config").GetComponent <GetterFinder>();


        Debug.Log(NearEdge(center, d).ToString() + ", " + FarEdge(center, d).ToString());

        SpawnAll(testMapLayered2D);
    }
Esempio n. 2
0
 private void Awake()
 {
     center       = new Helper.IntVector3(this.transform.position);
     mapLayered2D = EnviroGenerator.DeliverLayered2DMap(8);
     gF           = GameObject.FindGameObjectWithTag("Config").GetComponent <GetterFinder>();
 }