protected override void Awake() { base.Awake(); m_worldMap = GetComponent <WorldMap>(); TileMapping.BuildFromJSON("tilesInfo"); }
public static bool BuildFromJSON(string filename) { JSONNode rootNode = JSONUtils.ParseJSON(filename); if (rootNode != null) { return(TileMapping.BuildFromJSON(rootNode)); } return(false); }