void Awake() { this.Log("Location initializing"); //TODO refactor to factory if (MapPrefab) { var mapObject = Instantiate(MapPrefab, ContainingMap.transform.parent); AssociatedMap = mapObject.GetComponent <MapComponent>(); } }
public MapEventArgs(MapComponent map) { Map = map; }