コード例 #1
0
ファイル: CustomMap.cs プロジェクト: muramasa2402/DroNeS-LLV
 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);
     }
 }