海拔图和小地图
This commit is contained in:
1 parent
42fa59d103
commit
8ad36c965d
521 files changed
+1985033
-439
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 41aa014e797344c2c99c979bad017646, type: 3}
|
||||
m_Name: New Snap Terrain Raycast Modifier
|
||||
m_EditorClassIdentifier:
|
||||
Active: 1
|
||||
_terrainMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 256
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 036a385940cd72143b33e9bbc8e3eeea
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -86,7 +86,7 @@ namespace Mapbox.Unity.MeshGeneration.Modifiers
|
||||
|
||||
public override void Run(VectorFeatureUnity feature, MeshData md, UnityTile tile = null)
|
||||
{
|
||||
_scaledWidth = tile != null ? _options.Width * tile.TileScale : _options.Width;
|
||||
_scaledWidth = tile.TileScale * 20;// tile != null ? _options.Width * tile.TileScale : _options.Width;
|
||||
ExtrudeLine(feature, md);
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace Mapbox.Unity.MeshGeneration.Modifiers
|
||||
}
|
||||
|
||||
var middleVertex = _prevVertex != Constants.Math.Vector3Unused && _nextVertex != Constants.Math.Vector3Unused;
|
||||
var currentJoin = middleVertex ? _options.JoinType : _options.CapType;
|
||||
var currentJoin = JoinType.Fakeround;//middleVertex ? _options.JoinType : _options.CapType;
|
||||
|
||||
if (middleVertex && currentJoin == JoinType.Round)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user