Cleanup compile warnings, cleanup logs, spruce up level selection menu
This commit is contained in:
@@ -834,7 +834,7 @@ public class AstarPath : VersionedMonoBehaviour {
|
||||
} else if (path.error) {
|
||||
Debug.LogWarning(debug);
|
||||
} else {
|
||||
Debug.Log(debug);
|
||||
// Debug.Log(debug);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1379,7 +1379,9 @@ public class AstarPath : VersionedMonoBehaviour {
|
||||
if (!Application.isPlaying) return;
|
||||
|
||||
if (logPathResults == PathLog.Heavy)
|
||||
Debug.Log("+++ AstarPath Component Destroyed - Cleaning Up Pathfinding Data +++");
|
||||
{
|
||||
// Debug.Log("+++ AstarPath Component Destroyed - Cleaning Up Pathfinding Data +++");
|
||||
}
|
||||
|
||||
if (active != this) return;
|
||||
|
||||
@@ -1397,7 +1399,9 @@ public class AstarPath : VersionedMonoBehaviour {
|
||||
pathProcessor.queue.TerminateReceivers();
|
||||
|
||||
if (logPathResults == PathLog.Heavy)
|
||||
Debug.Log("Processing Possible Work Items");
|
||||
{
|
||||
// Debug.Log("Processing Possible Work Items");
|
||||
}
|
||||
|
||||
// Stop the graph update thread (if it is running)
|
||||
graphUpdates.DisableMultithreading();
|
||||
@@ -1406,21 +1410,27 @@ public class AstarPath : VersionedMonoBehaviour {
|
||||
pathProcessor.JoinThreads();
|
||||
|
||||
if (logPathResults == PathLog.Heavy)
|
||||
Debug.Log("Returning Paths");
|
||||
{
|
||||
// Debug.Log("Returning Paths");
|
||||
}
|
||||
|
||||
|
||||
// Return all paths
|
||||
pathReturnQueue.ReturnPaths(false);
|
||||
|
||||
if (logPathResults == PathLog.Heavy)
|
||||
Debug.Log("Destroying Graphs");
|
||||
{
|
||||
// Debug.Log("Destroying Graphs");
|
||||
}
|
||||
|
||||
|
||||
// Clean up graph data
|
||||
data.OnDestroy();
|
||||
|
||||
if (logPathResults == PathLog.Heavy)
|
||||
Debug.Log("Cleaning up variables");
|
||||
{
|
||||
// Debug.Log("Cleaning up variables");
|
||||
}
|
||||
|
||||
// Clear variables up, static variables are good to clean up, otherwise the next scene might get weird data
|
||||
|
||||
@@ -1781,7 +1791,7 @@ public class AstarPath : VersionedMonoBehaviour {
|
||||
System.GC.Collect();
|
||||
|
||||
if (logPathResults != PathLog.None && logPathResults != PathLog.OnlyErrors) {
|
||||
Debug.Log("Scanning - Process took "+(lastScanTime*1000).ToString("0")+" ms to complete");
|
||||
// Debug.Log("Scanning - Process took "+(lastScanTime*1000).ToString("0")+" ms to complete");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BIN
Assets/External/Placeholders/padlock.png
vendored
Normal file
BIN
Assets/External/Placeholders/padlock.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
195
Assets/External/Placeholders/padlock.png.meta
vendored
Normal file
195
Assets/External/Placeholders/padlock.png.meta
vendored
Normal file
@@ -0,0 +1,195 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d83ce295419286749ac621b53994ab5b
|
||||
TextureImporter:
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 2860044062972993909
|
||||
second: padlock_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 2
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: iOS
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WindowsStoreApps
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: padlock_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 16
|
||||
y: 11
|
||||
width: 209
|
||||
height: 241
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 571687f0ceae0b720800000000000000
|
||||
internalID: 2860044062972993909
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable:
|
||||
padlock_0: 2860044062972993909
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user