示例#1
0
 protected override void Awake()
 {
     base.Awake();
     OnInitialized += SimManager.OnMapLoaded;
     if (FilterHeight > 1)
     {
         VectorData.GetFeatureSubLayerAtIndex(0)?.filterOptions.AddNumericFilterGreaterThan("height", FilterHeight);
     }
 }
示例#2
0
 protected override void Awake()
 {
     if (PotatoMode)
     {
         Options.extentOptions.extentType = MapExtentType.RangeAroundCenter;
     }
     base.Awake();
     if (FilterHeight > 1)
     {
         VectorData.GetFeatureSubLayerAtIndex(0)?.filterOptions.AddNumericFilterGreaterThan("height", FilterHeight);
     }
 }