比较提交
合并到: unity-tech-cn:main
unity-tech-cn:/main
unity-tech-cn:/2018.3
unity-tech-cn:/feature-callable-flow
unity-tech-cn:/feature-sceneview-toolbar-preferences
unity-tech-cn:/feature-handle-drop-rlist
unity-tech-cn:/refactor-handle-modules
unity-tech-cn:/feature-cinemachine-noise-shake
unity-tech-cn:/feature-new-input-system
unity-tech-cn:/update-starters
unity-tech-cn:/feature-on-vfx-output-event
unity-tech-cn:/patches-2020.2.7-patch.1
unity-tech-cn:/feature-generic-animation-rigs
unity-tech-cn:/fix-pickups
unity-tech-cn:/refactor-2021-2-sceneview-toolbar
unity-tech-cn:/refactor-gui-overhaul
unity-tech-cn:/refactor-messager-dict-keys
unity-tech-cn:/fix-enterplaymode
unity-tech-cn:/refactor-manager-dependencies
unity-tech-cn:/feature-asset-dependency-explorer
拉取从: unity-tech-cn:refactor-2021-2-sceneview-toolbar
unity-tech-cn:/main
unity-tech-cn:/2018.3
unity-tech-cn:/feature-callable-flow
unity-tech-cn:/feature-sceneview-toolbar-preferences
unity-tech-cn:/feature-handle-drop-rlist
unity-tech-cn:/refactor-handle-modules
unity-tech-cn:/feature-cinemachine-noise-shake
unity-tech-cn:/feature-new-input-system
unity-tech-cn:/update-starters
unity-tech-cn:/feature-on-vfx-output-event
unity-tech-cn:/patches-2020.2.7-patch.1
unity-tech-cn:/feature-generic-animation-rigs
unity-tech-cn:/fix-pickups
unity-tech-cn:/refactor-2021-2-sceneview-toolbar
unity-tech-cn:/refactor-gui-overhaul
unity-tech-cn:/refactor-messager-dict-keys
unity-tech-cn:/fix-enterplaymode
unity-tech-cn:/refactor-manager-dependencies
unity-tech-cn:/feature-asset-dependency-explorer
此合并请求有变更与目标分支冲突。
/CHANGELOG.md
3 次代码提交
作者 | SHA1 | 备注 | 提交日期 |
---|---|---|---|
|
9d31c66f | Custom Scene View Delegate | 3 年前 |
|
feea3e87 | Updated Changelog | 3 年前 |
|
c3992935 | Merge branch 'master' into refactor/2021-2-sceneview-toolbar | 3 年前 |
共有 33 个文件被更改,包括 2489 次插入 和 6 次删除
-
2CHANGELOG.md
-
1Editor/GameViewLink/LinkGameView.cs
-
2Editor/CheckWindow/CheckWindow.cs
-
11Editor/SceneViewToolbar/SceneViewToolbar.cs
-
8Icons/SceneViewToolbar.meta
-
8Editor/SceneViewToolbar.meta
-
6Icons/SceneViewToolbar/POV.png
-
110Icons/SceneViewToolbar/POV.png.meta
-
40Icons/SceneViewToolbar/PlayFromHere.png
-
110Icons/SceneViewToolbar/PlayFromHere.png.meta
-
44Icons/SceneViewToolbar/PlayFromHere_Stop.png
-
110Icons/SceneViewToolbar/PlayFromHere_Stop.png.meta
-
4Icons/SceneViewToolbar/Camera.png
-
110Icons/SceneViewToolbar/Camera.png.meta
-
110Icons/SceneViewToolbar/CameraActive.png.meta
-
80Icons/SceneViewToolbar/CameraCM.png
-
110Icons/SceneViewToolbar/CameraCM.png.meta
-
3Icons/SceneViewToolbar/CheckResolve.png
-
98Icons/SceneViewToolbar/CheckResolve.png.meta
-
42Icons/SceneViewToolbar/Comments.png
-
98Icons/SceneViewToolbar/Comments.png.meta
-
40Icons/SceneViewToolbar/CameraActive.png
-
1001GFX~/Icons/PlayFromHere.afphoto
-
11Editor/SceneViewToolbar/SceneViewToolbar.Overlays.cs.meta
-
14Editor/SceneViewToolbar/SceneViewToolbar.Delegate.cs
-
11Editor/SceneViewToolbar/SceneViewToolbar.Delegate.cs.meta
-
311Editor/SceneViewToolbar/SceneViewToolbar.Overlays.cs
-
0/Editor/SceneViewToolbar/SceneViewToolbar.cs
-
0/Editor/SceneViewToolbar/SceneViewToolbar.cs.meta
|
|||
fileFormatVersion: 2 |
|||
guid: 9c9d7cadb27f8af41a443a44648f71e6 |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 67ecd3e7d8a06d24088b7232bb0937dd |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: fab6d20367ea0aa4d8eb22f3115dd962 |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 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: 0 |
|||
nPOTScale: 0 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 2 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 0 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: d2301fdb9aab0ca41ba71f099e43d433 |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 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: 0 |
|||
nPOTScale: 0 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 2 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 0 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 5952df0bad81f994baa6965addbf0d4d |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 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: 0 |
|||
nPOTScale: 0 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 2 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 0 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: fb66a8722dac58543b507c31e1cf6c7b |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 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: 0 |
|||
nPOTScale: 0 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 2 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 0 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 0235d8d599fe0014387509162fb9afe7 |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 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: 0 |
|||
nPOTScale: 0 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 2 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 0 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 1c4a418624ce2d94cb27e571a557eeec |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 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: 0 |
|||
nPOTScale: 0 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 2 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 0 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: d998410fe51ea4a449072d9abb559ded |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
mipmaps: |
|||
mipMapMode: 0 |
|||
enableMipMap: 1 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 0 |
|||
grayScaleToAlpha: 0 |
|||
generateCubemap: 6 |
|||
cubemapConvolution: 0 |
|||
seamlessCubemap: 0 |
|||
textureFormat: 1 |
|||
maxTextureSize: 2048 |
|||
textureSettings: |
|||
serializedVersion: 2 |
|||
filterMode: 1 |
|||
aniso: 1 |
|||
mipBias: 0 |
|||
wrapU: 0 |
|||
wrapV: 0 |
|||
wrapW: 0 |
|||
nPOTScale: 1 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 0 |
|||
spriteTessellationDetail: -1 |
|||
textureType: 0 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 21f4797d3e195f4409abc43264d90482 |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
mipmaps: |
|||
mipMapMode: 0 |
|||
enableMipMap: 1 |
|||
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 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
ignoreMasterTextureLimit: 0 |
|||
grayScaleToAlpha: 0 |
|||
generateCubemap: 6 |
|||
cubemapConvolution: 0 |
|||
seamlessCubemap: 0 |
|||
textureFormat: 1 |
|||
maxTextureSize: 2048 |
|||
textureSettings: |
|||
serializedVersion: 2 |
|||
filterMode: 1 |
|||
aniso: 1 |
|||
mipBias: 0 |
|||
wrapU: 0 |
|||
wrapV: 0 |
|||
wrapW: 0 |
|||
nPOTScale: 1 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 0 |
|||
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: 0 |
|||
spriteTessellationDetail: -1 |
|||
textureType: 0 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
nameFileIdTable: {} |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
1001
GFX~/Icons/PlayFromHere.afphoto
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: c55c9d2a68d570945b9dccea2290b061 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEditor; |
|||
using System; |
|||
using GameplayIngredients.Comments.Editor; |
|||
|
|||
namespace GameplayIngredients.Editor |
|||
{ |
|||
public static partial class SceneViewToolbar |
|||
{ |
|||
public delegate void SceneViewToolbarDelegate(SceneView sceneView); |
|||
public static event SceneViewToolbarDelegate OnSceneViewToolbarGUI; |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 74c6eb7f533b3f54499e30beb6d810d3 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
#if UNITY_2021_2_OR_NEWER
|
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEditor; |
|||
using System; |
|||
using GameplayIngredients.Comments.Editor; |
|||
using UnityEditor.Overlays; |
|||
using UnityEditor.Toolbars; |
|||
using UnityEngine.UIElements; |
|||
|
|||
namespace GameplayIngredients.Editor |
|||
{ |
|||
public static partial class SceneViewToolbar |
|||
{ |
|||
|
|||
[Overlay(typeof(SceneView), "Gameplay Ingredients", true)] |
|||
public class IngredientsToolbarOverlay : ToolbarOverlay |
|||
{ |
|||
const string prefix = "IngredientsToolbarOverlay."; |
|||
public IngredientsToolbarOverlay() : base( |
|||
PlayFromHereButton.id, |
|||
LinkGameViewButton.id, |
|||
PointOfViewButton.id, |
|||
CommentsButton.id, |
|||
CheckResolveButton.id, |
|||
IngredientExplorerButton.id |
|||
) |
|||
{ } |
|||
|
|||
protected override Layout supportedLayouts => Layout.HorizontalToolbar | Layout.VerticalToolbar; |
|||
|
|||
#region PLAY FROM HERE
|
|||
[EditorToolbarElement(id)] |
|||
public class PlayFromHereButton : EditorToolbarButton, IAccessContainerWindow |
|||
{ |
|||
public const string id = prefix + "PlayFromHereButton"; |
|||
public EditorWindow containerWindow { get; set; } |
|||
|
|||
public PlayFromHereButton() : base() |
|||
{ |
|||
this.SetEnabled(PlayFromHere.IsReady); |
|||
icon = EditorApplication.isPlaying ? Contents.playFromHere_Stop : Contents.playFromHere; |
|||
tooltip = "Play from Here"; |
|||
clicked += OnClick; |
|||
EditorApplication.playModeStateChanged += EditorApplication_playModeStateChanged; |
|||
} |
|||
|
|||
private void EditorApplication_playModeStateChanged(PlayModeStateChange obj) |
|||
{ |
|||
if (obj == PlayModeStateChange.EnteredPlayMode) |
|||
icon = Contents.playFromHere_Stop; |
|||
else if (obj == PlayModeStateChange.EnteredEditMode) |
|||
icon = Contents.playFromHere; |
|||
} |
|||
|
|||
public void OnClick() |
|||
{ |
|||
if (!EditorApplication.isPlaying) |
|||
PlayFromHere.Play(containerWindow as SceneView); |
|||
else |
|||
EditorApplication.isPlaying = false; |
|||
} |
|||
} |
|||
#endregion
|
|||
|
|||
#region LINK GAME VIEW
|
|||
[EditorToolbarElement(id)] |
|||
public class LinkGameViewButton : EditorToolbarDropdownToggle, IAccessContainerWindow |
|||
{ |
|||
public override bool value |
|||
{ |
|||
get => base.value; |
|||
set |
|||
{ |
|||
base.value = value; |
|||
OnValueChanged(value); |
|||
} |
|||
} |
|||
|
|||
public const string id = prefix + "LinkGameViewButton"; |
|||
|
|||
public EditorWindow containerWindow { get; set; } |
|||
|
|||
static List<LinkGameViewButton> buttons = new List<LinkGameViewButton>(); |
|||
|
|||
public LinkGameViewButton() |
|||
{ |
|||
tooltip = "Link Game View"; |
|||
dropdownClicked += OnClick; |
|||
|
|||
SetValueWithoutNotify(LinkGameView.Active && LinkGameView.LockedSceneView == containerWindow as SceneView); |
|||
|
|||
buttons.Add(this); |
|||
|
|||
UpdateIcon(); |
|||
} |
|||
|
|||
~LinkGameViewButton() |
|||
{ |
|||
if (LinkGameView.LockedSceneView == containerWindow as SceneView) |
|||
{ |
|||
LinkGameView.LockedSceneView = null; |
|||
LinkGameView.Active = false; |
|||
} |
|||
buttons.Remove(this); |
|||
} |
|||
|
|||
public void UpdateIcon() |
|||
{ |
|||
if (LinkGameView.CinemachineActive) |
|||
icon = Contents.linkGameViewCM; |
|||
else |
|||
{ |
|||
icon = (LinkGameView.Active && LinkGameView.LockedSceneView == containerWindow as SceneView) ? Contents.linkGameViewActive : Contents.linkGameView; |
|||
} |
|||
} |
|||
|
|||
public void OnClick() |
|||
{ |
|||
var m = new GenericMenu(); |
|||
m.AddItem(new GUIContent("Link Camera"), LinkGameView.LockedSceneView == containerWindow as SceneView, |
|||
() => |
|||
{ |
|||
LinkGameView.CinemachineActive = false; |
|||
value = true; |
|||
UpdateIcon(); |
|||
}); |
|||
m.AddItem(new GUIContent("Cinemachine Preview"), LinkGameView.CinemachineActive, |
|||
() => |
|||
{ |
|||
LinkGameView.CinemachineActive = true; |
|||
value = true; |
|||
UpdateIcon(); |
|||
}); |
|||
m.DropDown(worldBound); |
|||
|
|||
} |
|||
|
|||
void OnValueChanged(bool newValue) |
|||
{ |
|||
LinkGameView.Active = newValue; |
|||
|
|||
if (LinkGameView.CinemachineActive && newValue == false) |
|||
LinkGameView.CinemachineActive = false; |
|||
else if (newValue && !LinkGameView.CinemachineActive) |
|||
LinkGameView.LockedSceneView = containerWindow as SceneView; |
|||
else |
|||
LinkGameView.LockedSceneView = null; |
|||
|
|||
UpdateIcon(); |
|||
|
|||
foreach (var button in buttons) |
|||
{ |
|||
if (LinkGameView.CinemachineActive) |
|||
{ |
|||
button.SetValueWithoutNotify(true); |
|||
|
|||
} |
|||
else if (button.containerWindow != containerWindow) |
|||
{ |
|||
button.SetValueWithoutNotify(false); |
|||
} |
|||
button.UpdateIcon(); |
|||
} |
|||
} |
|||
} |
|||
#endregion
|
|||
|
|||
#region POINT OF VIEW
|
|||
[EditorToolbarElement(id)] |
|||
public class PointOfViewButton : EditorToolbarDropdown, IAccessContainerWindow |
|||
{ |
|||
public const string id = prefix + "PointOfViewButton"; |
|||
|
|||
public EditorWindow containerWindow { get; set; } |
|||
|
|||
public PointOfViewButton() |
|||
{ |
|||
icon = Contents.pointOfView; |
|||
tooltip = "Point of View"; |
|||
clicked += OnClick; |
|||
} |
|||
|
|||
public void OnClick() |
|||
{ |
|||
SceneViewPOV.ShowPopup(worldBound, containerWindow as SceneView); |
|||
} |
|||
} |
|||
#endregion
|
|||
|
|||
#region COMMENTS
|
|||
[EditorToolbarElement(id)] |
|||
public class CommentsButton : EditorToolbarButton, IAccessContainerWindow |
|||
{ |
|||
public const string id = prefix + "CommentsButton"; |
|||
|
|||
public EditorWindow containerWindow { get; set; } |
|||
|
|||
public CommentsButton() |
|||
{ |
|||
icon = Contents.commentsWindow; |
|||
tooltip = "Open Comments Window"; |
|||
clicked += OnClick; |
|||
} |
|||
|
|||
public void OnClick() |
|||
{ |
|||
CommentsWindow.Open(); |
|||
} |
|||
} |
|||
#endregion
|
|||
|
|||
#region CHECK/RESOLVE
|
|||
[EditorToolbarElement(id)] |
|||
public class CheckResolveButton : EditorToolbarButton, IAccessContainerWindow |
|||
{ |
|||
public const string id = prefix + "CheckResolveButton"; |
|||
|
|||
public EditorWindow containerWindow { get; set; } |
|||
|
|||
public CheckResolveButton() |
|||
{ |
|||
icon = Contents.checkWindow; |
|||
tooltip = "Open Check/Resolve Window"; |
|||
clicked += OnClick; |
|||
} |
|||
|
|||
public void OnClick() |
|||
{ |
|||
CheckWindow.OpenWindow(); |
|||
} |
|||
} |
|||
#endregion
|
|||
|
|||
#region INGREDIENT EXPLORER
|
|||
[EditorToolbarElement(id)] |
|||
public class IngredientExplorerButton : EditorToolbarButton, IAccessContainerWindow |
|||
{ |
|||
public const string id = prefix + "IngredientExplorerButton"; |
|||
|
|||
public EditorWindow containerWindow { get; set; } |
|||
|
|||
public IngredientExplorerButton() |
|||
{ |
|||
icon = Contents.ingredientsExplorer; |
|||
tooltip = "Open Ingredients Explorer"; |
|||
clicked += OnClick; |
|||
} |
|||
|
|||
public void OnClick() |
|||
{ |
|||
IngredientsExplorerWindow.OpenWindow(); |
|||
} |
|||
} |
|||
#endregion
|
|||
|
|||
static class Contents |
|||
{ |
|||
public static Texture2D playFromHere; |
|||
public static Texture2D playFromHere_Stop; |
|||
|
|||
public static Texture2D pointOfView; |
|||
|
|||
public static Texture2D linkGameView; |
|||
public static Texture2D linkGameViewActive; |
|||
public static Texture2D linkGameViewCM; |
|||
|
|||
public static Texture2D checkWindow; |
|||
public static Texture2D commentsWindow; |
|||
public static Texture2D ingredientsExplorer; |
|||
|
|||
static Contents() |
|||
{ |
|||
playFromHere = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/PlayFromHere.png") as Texture2D; |
|||
playFromHere_Stop = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/PlayFromHere_Stop.png") as Texture2D; |
|||
pointOfView = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/POV.png") as Texture2D; |
|||
linkGameView = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/Camera.png") as Texture2D; |
|||
|
|||
linkGameViewActive = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/CameraActive.png") as Texture2D; |
|||
linkGameViewCM = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/CameraCM.png") as Texture2D; |
|||
checkWindow = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/CheckResolve.png") as Texture2D; |
|||
commentsWindow = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/SceneViewToolbar/Comments.png") as Texture2D; |
|||
ingredientsExplorer = EditorGUIUtility.Load("Packages/net.peeweek.gameplay-ingredients/Icons/Misc/ic-callable.png") as Texture2D; |
|||
} |
|||
} |
|||
} |
|||
|
|||
[Overlay(typeof(SceneView), "Custom (Gameplay Ingredients)", true)] |
|||
public class IngredientsCustomToolbarOverlay : Overlay, IAccessContainerWindow |
|||
{ |
|||
EditorWindow IAccessContainerWindow.containerWindow { get; set; } |
|||
SceneView sceneView => containerWindow as SceneView; |
|||
|
|||
protected override Layout supportedLayouts => Layout.HorizontalToolbar; |
|||
|
|||
public override VisualElement CreatePanelContent() |
|||
{ |
|||
return new IMGUIContainer(() => |
|||
{ |
|||
using(new GUILayout.HorizontalScope(EditorStyles.toolbar)) |
|||
{ |
|||
SceneViewToolbar.OnSceneViewToolbarGUI?.Invoke(sceneView); |
|||
} |
|||
}); |
|||
} |
|||
|
|||
} |
|||
} |
|||
} |
|||
#endif
|
撰写
预览
正在加载...
取消
保存
Reference in new issue