public InfluenceGrid(AdaptedMap map)
 {
     this.map            = map;
     InfluenceMapTexture = new Texture2D(map.width, map.height);
     SetMapInfluences();
 }
 void Awake()
 {
     Instance = this;
 }
Beispiel #3
0
 void Awake()
 {
     map = GameObject.Find("New Map").GetComponent <AdaptedMap> ();
 }