Compare commits
13 Commits
Author | SHA1 | Date |
---|---|---|
|
b72d701ab8 | 3 months ago |
|
461034d2c6 | 3 months ago |
|
b98896eff3 | 5 months ago |
|
a5fe77d129 | 5 months ago |
|
cdcb863846 | 5 months ago |
|
a2a6640729 | 5 months ago |
|
950190383b | 6 months ago |
|
78710ea418 | 6 months ago |
|
3edf970cce | 6 months ago |
|
6a7fa7e224 | 6 months ago |
|
2106f185f0 | 6 months ago |
|
f2c3caa75c | 6 months ago |
|
edbae033cb | 6 months ago |
232 changed files with 31658 additions and 13353 deletions
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: daf998873f6bbca47a2edde3e4c6eb78 |
|
||||||
PrefabImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: mainbuilding |
|
||||||
assetBundleVariant: |
|
@ -1,34 +0,0 @@ |
|||||||
%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: fcf7219bab7fe46a1ad266029b2fee19, type: 3} |
|
||||||
m_Name: Readme |
|
||||||
m_EditorClassIdentifier: |
|
||||||
icon: {fileID: 2800000, guid: 727a75301c3d24613a3ebcec4a24c2c8, type: 3} |
|
||||||
title: URP Empty Template |
|
||||||
sections: |
|
||||||
- heading: Welcome to the Universal Render Pipeline |
|
||||||
text: This template includes the settings and assets you need to start creating with the Universal Render Pipeline. |
|
||||||
linkText: |
|
||||||
url: |
|
||||||
- heading: URP Documentation |
|
||||||
text: |
|
||||||
linkText: Read more about URP |
|
||||||
url: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest |
|
||||||
- heading: Forums |
|
||||||
text: |
|
||||||
linkText: Get answers and support |
|
||||||
url: https://forum.unity.com/forums/universal-render-pipeline.383/ |
|
||||||
- heading: Report bugs |
|
||||||
text: |
|
||||||
linkText: Submit a report |
|
||||||
url: https://unity3d.com/unity/qa/bug-reporting |
|
||||||
loadedLayout: 1 |
|
@ -1,99 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!1 &663570021966237506 |
|
||||||
GameObject: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
serializedVersion: 6 |
|
||||||
m_Component: |
|
||||||
- component: {fileID: 7098101201915551186} |
|
||||||
m_Layer: 0 |
|
||||||
m_Name: Reflection Probes_DKCYGQ |
|
||||||
m_TagString: Untagged |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_NavMeshLayer: 0 |
|
||||||
m_StaticEditorFlags: 0 |
|
||||||
m_IsActive: 1 |
|
||||||
--- !u!4 &7098101201915551186 |
|
||||||
Transform: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 663570021966237506} |
|
||||||
serializedVersion: 2 |
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
|
||||||
m_LocalPosition: {x: 19.2, y: 28.78, z: -95.1} |
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1} |
|
||||||
m_ConstrainProportionsScale: 0 |
|
||||||
m_Children: |
|
||||||
- {fileID: 4290888061363346651} |
|
||||||
m_Father: {fileID: 0} |
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
||||||
--- !u!1 &3292082289102034638 |
|
||||||
GameObject: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
serializedVersion: 6 |
|
||||||
m_Component: |
|
||||||
- component: {fileID: 4290888061363346651} |
|
||||||
- component: {fileID: 9214662592281876890} |
|
||||||
m_Layer: 0 |
|
||||||
m_Name: Reflection Probes |
|
||||||
m_TagString: Untagged |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_NavMeshLayer: 0 |
|
||||||
m_StaticEditorFlags: 0 |
|
||||||
m_IsActive: 1 |
|
||||||
--- !u!4 &4290888061363346651 |
|
||||||
Transform: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 3292082289102034638} |
|
||||||
serializedVersion: 2 |
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1} |
|
||||||
m_ConstrainProportionsScale: 0 |
|
||||||
m_Children: [] |
|
||||||
m_Father: {fileID: 7098101201915551186} |
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
||||||
--- !u!215 &9214662592281876890 |
|
||||||
ReflectionProbe: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 3292082289102034638} |
|
||||||
m_Enabled: 1 |
|
||||||
serializedVersion: 2 |
|
||||||
m_Type: 0 |
|
||||||
m_Mode: 1 |
|
||||||
m_RefreshMode: 1 |
|
||||||
m_TimeSlicingMode: 0 |
|
||||||
m_Resolution: 128 |
|
||||||
m_UpdateFrequency: 0 |
|
||||||
m_BoxSize: {x: 221.14278, y: 70.11197, z: 369.57507} |
|
||||||
m_BoxOffset: {x: 10.482475, y: 24.88366, z: -1.3174667} |
|
||||||
m_NearClip: 0.3 |
|
||||||
m_FarClip: 1000 |
|
||||||
m_ShadowDistance: 512 |
|
||||||
m_ClearFlags: 1 |
|
||||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} |
|
||||||
m_CullingMask: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
m_IntensityMultiplier: 1 |
|
||||||
m_BlendDistance: 1 |
|
||||||
m_HDR: 1 |
|
||||||
m_BoxProjection: 0 |
|
||||||
m_RenderDynamicObjects: 0 |
|
||||||
m_UseOcclusionCulling: 1 |
|
||||||
m_Importance: 1 |
|
||||||
m_CustomBakedTexture: {fileID: 0} |
|
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 048efe8f878e3f84eaa5e191f1bd6868 |
guid: 442ca1da7298dcc44b1be0a597573e6c |
||||||
folderAsset: yes |
folderAsset: yes |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: b5f41288275db0a488f03fe419887b19 |
guid: 2eac50f069b0c984d9b2b4af57bde0db |
||||||
folderAsset: yes |
folderAsset: yes |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 9bcd6e66e4cbc7d4fb2b567bfbd6e3bb |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: buildingscene |
||||||
|
assetBundleVariant: |
Binary file not shown.
@ -1,8 +1,8 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: a983a7bd694ba05429e1750b733b4277 |
guid: 5cdd9b254eeb15447ab7fabb36828351 |
||||||
NativeFormatImporter: |
NativeFormatImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
mainObjectFileID: 0 |
mainObjectFileID: 23800000 |
||||||
userData: |
userData: |
||||||
assetBundleName: |
assetBundleName: |
||||||
assetBundleVariant: |
assetBundleVariant: |
Binary file not shown.
@ -1,8 +1,8 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 6a49ca853086bd64688b3a8fb852e382 |
guid: 89af949169862ae44ba7291dc4e1a3a8 |
||||||
NativeFormatImporter: |
NativeFormatImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
mainObjectFileID: 0 |
mainObjectFileID: 23800000 |
||||||
userData: |
userData: |
||||||
assetBundleName: |
assetBundleName: |
||||||
assetBundleVariant: |
assetBundleVariant: |
Binary file not shown.
@ -1,8 +1,8 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 8105016687592461f977c054a80ce2f2 |
guid: 1b29fb919d95cc143974c7f5a6a91db3 |
||||||
NativeFormatImporter: |
NativeFormatImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
mainObjectFileID: 0 |
mainObjectFileID: 23800000 |
||||||
userData: |
userData: |
||||||
assetBundleName: |
assetBundleName: |
||||||
assetBundleVariant: |
assetBundleVariant: |
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 4accf46e6871a65499d2f7345ed88463 |
guid: bfdc23a6fb7549147b5857128c7149b5 |
||||||
PrefabImporter: |
PrefabImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
@ -1,350 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!29 &1 |
|
||||||
OcclusionCullingSettings: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 2 |
|
||||||
m_OcclusionBakeSettings: |
|
||||||
smallestOccluder: 5 |
|
||||||
smallestHole: 0.25 |
|
||||||
backfaceThreshold: 100 |
|
||||||
m_SceneGUID: 00000000000000000000000000000000 |
|
||||||
m_OcclusionCullingData: {fileID: 0} |
|
||||||
--- !u!104 &2 |
|
||||||
RenderSettings: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 10 |
|
||||||
m_Fog: 0 |
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} |
|
||||||
m_FogMode: 3 |
|
||||||
m_FogDensity: 0.01 |
|
||||||
m_LinearFogStart: 0 |
|
||||||
m_LinearFogEnd: 300 |
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} |
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} |
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} |
|
||||||
m_AmbientIntensity: 1 |
|
||||||
m_AmbientMode: 0 |
|
||||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} |
|
||||||
m_SkyboxMaterial: {fileID: 2100000, guid: 4e094c1b3935c48498317958bcb3eee0, type: 2} |
|
||||||
m_HaloStrength: 0.5 |
|
||||||
m_FlareStrength: 1 |
|
||||||
m_FlareFadeSpeed: 3 |
|
||||||
m_HaloTexture: {fileID: 0} |
|
||||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_DefaultReflectionMode: 0 |
|
||||||
m_DefaultReflectionResolution: 128 |
|
||||||
m_ReflectionBounces: 1 |
|
||||||
m_ReflectionIntensity: 1 |
|
||||||
m_CustomReflection: {fileID: 0} |
|
||||||
m_Sun: {fileID: 0} |
|
||||||
m_UseRadianceAmbientProbe: 0 |
|
||||||
--- !u!157 &3 |
|
||||||
LightmapSettings: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 12 |
|
||||||
m_GISettings: |
|
||||||
serializedVersion: 2 |
|
||||||
m_BounceScale: 1 |
|
||||||
m_IndirectOutputScale: 1 |
|
||||||
m_AlbedoBoost: 1 |
|
||||||
m_EnvironmentLightingMode: 0 |
|
||||||
m_EnableBakedLightmaps: 1 |
|
||||||
m_EnableRealtimeLightmaps: 0 |
|
||||||
m_LightmapEditorSettings: |
|
||||||
serializedVersion: 12 |
|
||||||
m_Resolution: 2 |
|
||||||
m_BakeResolution: 40 |
|
||||||
m_AtlasSize: 1024 |
|
||||||
m_AO: 0 |
|
||||||
m_AOMaxDistance: 1 |
|
||||||
m_CompAOExponent: 1 |
|
||||||
m_CompAOExponentDirect: 0 |
|
||||||
m_ExtractAmbientOcclusion: 0 |
|
||||||
m_Padding: 2 |
|
||||||
m_LightmapParameters: {fileID: 0} |
|
||||||
m_LightmapsBakeMode: 1 |
|
||||||
m_TextureCompression: 1 |
|
||||||
m_ReflectionCompression: 2 |
|
||||||
m_MixedBakeMode: 2 |
|
||||||
m_BakeBackend: 1 |
|
||||||
m_PVRSampling: 1 |
|
||||||
m_PVRDirectSampleCount: 32 |
|
||||||
m_PVRSampleCount: 512 |
|
||||||
m_PVRBounces: 2 |
|
||||||
m_PVREnvironmentSampleCount: 256 |
|
||||||
m_PVREnvironmentReferencePointCount: 2048 |
|
||||||
m_PVRFilteringMode: 1 |
|
||||||
m_PVRDenoiserTypeDirect: 1 |
|
||||||
m_PVRDenoiserTypeIndirect: 1 |
|
||||||
m_PVRDenoiserTypeAO: 1 |
|
||||||
m_PVRFilterTypeDirect: 0 |
|
||||||
m_PVRFilterTypeIndirect: 0 |
|
||||||
m_PVRFilterTypeAO: 0 |
|
||||||
m_PVREnvironmentMIS: 1 |
|
||||||
m_PVRCulling: 1 |
|
||||||
m_PVRFilteringGaussRadiusDirect: 1 |
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5 |
|
||||||
m_PVRFilteringGaussRadiusAO: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5 |
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1 |
|
||||||
m_ExportTrainingData: 0 |
|
||||||
m_TrainingDataDestination: TrainingData |
|
||||||
m_LightProbeSampleCountMultiplier: 4 |
|
||||||
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0} |
|
||||||
m_LightingSettings: {fileID: 4890085278179872738, guid: fccb15998aa85b441b8811d1e641e7ff, type: 2} |
|
||||||
--- !u!196 &4 |
|
||||||
NavMeshSettings: |
|
||||||
serializedVersion: 2 |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_BuildSettings: |
|
||||||
serializedVersion: 3 |
|
||||||
agentTypeID: 0 |
|
||||||
agentRadius: 0.5 |
|
||||||
agentHeight: 2 |
|
||||||
agentSlope: 45 |
|
||||||
agentClimb: 0.4 |
|
||||||
ledgeDropHeight: 0 |
|
||||||
maxJumpAcrossDistance: 0 |
|
||||||
minRegionArea: 2 |
|
||||||
manualCellSize: 0 |
|
||||||
cellSize: 0.16666667 |
|
||||||
manualTileSize: 0 |
|
||||||
tileSize: 256 |
|
||||||
buildHeightMesh: 0 |
|
||||||
maxJobWorkers: 0 |
|
||||||
preserveTilesOutsideBounds: 0 |
|
||||||
debug: |
|
||||||
m_Flags: 0 |
|
||||||
m_NavMeshData: {fileID: 0} |
|
||||||
--- !u!1 &79835074 |
|
||||||
GameObject: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
serializedVersion: 6 |
|
||||||
m_Component: |
|
||||||
- component: {fileID: 79835075} |
|
||||||
m_Layer: 0 |
|
||||||
m_Name: GameObject |
|
||||||
m_TagString: Untagged |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_NavMeshLayer: 0 |
|
||||||
m_StaticEditorFlags: 0 |
|
||||||
m_IsActive: 0 |
|
||||||
--- !u!4 &79835075 |
|
||||||
Transform: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 79835074} |
|
||||||
serializedVersion: 2 |
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1} |
|
||||||
m_ConstrainProportionsScale: 0 |
|
||||||
m_Children: [] |
|
||||||
m_Father: {fileID: 0} |
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
||||||
--- !u!1001 &1626233697 |
|
||||||
PrefabInstance: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 2 |
|
||||||
m_Modification: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TransformParent: {fileID: 0} |
|
||||||
m_Modifications: |
|
||||||
- target: {fileID: 2450208290753701863, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_Name |
|
||||||
value: Directional Light |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalPosition.x |
|
||||||
value: -3346.531 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalPosition.y |
|
||||||
value: 3921.7104 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalPosition.z |
|
||||||
value: -3024.347 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalRotation.w |
|
||||||
value: 0.6241639 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalRotation.x |
|
||||||
value: 0.6811555 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalRotation.y |
|
||||||
value: 0.25853714 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalRotation.z |
|
||||||
value: -0.28214383 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.x |
|
||||||
value: 95 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.y |
|
||||||
value: 45 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2451142508883335010, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2479099273192989779, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_Intensity |
|
||||||
value: 3 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2479099273192989779, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_BounceIntensity |
|
||||||
value: 3 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2479099273192989779, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_ColorTemperature |
|
||||||
value: 6800 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 2479099273192989779, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
propertyPath: m_Shadows.m_Strength |
|
||||||
value: 0.299 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
m_RemovedComponents: [] |
|
||||||
m_RemovedGameObjects: [] |
|
||||||
m_AddedGameObjects: [] |
|
||||||
m_AddedComponents: [] |
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: f439504be2b436f48b0ee92cfc454b9e, type: 3} |
|
||||||
--- !u!1001 &1937539031 |
|
||||||
PrefabInstance: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 2 |
|
||||||
m_Modification: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TransformParent: {fileID: 0} |
|
||||||
m_Modifications: |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalPosition.x |
|
||||||
value: 0.36618492 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalPosition.y |
|
||||||
value: -1.27 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalPosition.z |
|
||||||
value: 1.7488995 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalRotation.w |
|
||||||
value: 1 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalRotation.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalRotation.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalRotation.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3056669396116684858, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3820501177425279086, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_Name |
|
||||||
value: Global Volume |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 3820501177425279086, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
propertyPath: m_IsActive |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
m_RemovedComponents: [] |
|
||||||
m_RemovedGameObjects: [] |
|
||||||
m_AddedGameObjects: [] |
|
||||||
m_AddedComponents: [] |
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 1d71627acfda873449b22d23b56a7d07, type: 3} |
|
||||||
--- !u!1001 &344888801008083169 |
|
||||||
PrefabInstance: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 2 |
|
||||||
m_Modification: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TransformParent: {fileID: 0} |
|
||||||
m_Modifications: |
|
||||||
- target: {fileID: 4641086652842161536, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_Name |
|
||||||
value: MainBuilding |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalPosition.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalPosition.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalPosition.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalRotation.w |
|
||||||
value: 1 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalRotation.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalRotation.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalRotation.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 7828731996229260504, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
m_RemovedComponents: [] |
|
||||||
m_RemovedGameObjects: [] |
|
||||||
m_AddedGameObjects: [] |
|
||||||
m_AddedComponents: [] |
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: daf998873f6bbca47a2edde3e4c6eb78, type: 3} |
|
||||||
--- !u!1660057539 &9223372036854775807 |
|
||||||
SceneRoots: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_Roots: |
|
||||||
- {fileID: 344888801008083169} |
|
||||||
- {fileID: 1626233697} |
|
||||||
- {fileID: 1937539031} |
|
||||||
- {fileID: 79835075} |
|
@ -1,123 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!1 &2450208290753701863 |
|
||||||
GameObject: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
serializedVersion: 6 |
|
||||||
m_Component: |
|
||||||
- component: {fileID: 2451142508883335010} |
|
||||||
- component: {fileID: 2479099273192989779} |
|
||||||
- component: {fileID: 8554150939888306566} |
|
||||||
m_Layer: 0 |
|
||||||
m_Name: Directional Light |
|
||||||
m_TagString: Untagged |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_NavMeshLayer: 0 |
|
||||||
m_StaticEditorFlags: 0 |
|
||||||
m_IsActive: 1 |
|
||||||
--- !u!4 &2451142508883335010 |
|
||||||
Transform: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 2450208290753701863} |
|
||||||
serializedVersion: 2 |
|
||||||
m_LocalRotation: {x: 0.6811555, y: 0.25853714, z: -0.28214383, w: 0.6241639} |
|
||||||
m_LocalPosition: {x: -3346.531, y: 3921.7104, z: -3024.347} |
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1} |
|
||||||
m_ConstrainProportionsScale: 0 |
|
||||||
m_Children: [] |
|
||||||
m_Father: {fileID: 0} |
|
||||||
m_LocalEulerAnglesHint: {x: 95, y: 45, z: 0} |
|
||||||
--- !u!108 &2479099273192989779 |
|
||||||
Light: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 2450208290753701863} |
|
||||||
m_Enabled: 1 |
|
||||||
serializedVersion: 11 |
|
||||||
m_Type: 1 |
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
m_Intensity: 5 |
|
||||||
m_Range: 10 |
|
||||||
m_SpotAngle: 30 |
|
||||||
m_InnerSpotAngle: 21.80208 |
|
||||||
m_CookieSize: 10 |
|
||||||
m_Shadows: |
|
||||||
m_Type: 2 |
|
||||||
m_Resolution: -1 |
|
||||||
m_CustomResolution: -1 |
|
||||||
m_Strength: 1 |
|
||||||
m_Bias: 0.05 |
|
||||||
m_NormalBias: 0.4 |
|
||||||
m_NearPlane: 0.2 |
|
||||||
m_CullingMatrixOverride: |
|
||||||
e00: 1 |
|
||||||
e01: 0 |
|
||||||
e02: 0 |
|
||||||
e03: 0 |
|
||||||
e10: 0 |
|
||||||
e11: 1 |
|
||||||
e12: 0 |
|
||||||
e13: 0 |
|
||||||
e20: 0 |
|
||||||
e21: 0 |
|
||||||
e22: 1 |
|
||||||
e23: 0 |
|
||||||
e30: 0 |
|
||||||
e31: 0 |
|
||||||
e32: 0 |
|
||||||
e33: 1 |
|
||||||
m_UseCullingMatrixOverride: 0 |
|
||||||
m_Cookie: {fileID: 0} |
|
||||||
m_DrawHalo: 0 |
|
||||||
m_Flare: {fileID: 0} |
|
||||||
m_RenderMode: 0 |
|
||||||
m_CullingMask: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
m_RenderingLayerMask: 1 |
|
||||||
m_Lightmapping: 4 |
|
||||||
m_LightShadowCasterMode: 0 |
|
||||||
m_AreaSize: {x: 1, y: 1} |
|
||||||
m_BounceIntensity: 5 |
|
||||||
m_ColorTemperature: 5000 |
|
||||||
m_UseColorTemperature: 1 |
|
||||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
m_UseBoundingSphereOverride: 0 |
|
||||||
m_UseViewFrustumForShadowCasterCull: 1 |
|
||||||
m_ForceVisible: 0 |
|
||||||
m_ShadowRadius: 0 |
|
||||||
m_ShadowAngle: 0 |
|
||||||
m_LightUnit: 1 |
|
||||||
m_LuxAtDistance: 1 |
|
||||||
m_EnableSpotReflector: 1 |
|
||||||
--- !u!114 &8554150939888306566 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 2450208290753701863} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 0 |
|
||||||
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Version: 3 |
|
||||||
m_UsePipelineSettings: 1 |
|
||||||
m_AdditionalLightsShadowResolutionTier: 2 |
|
||||||
m_LightLayerMask: 1 |
|
||||||
m_RenderingLayers: 1 |
|
||||||
m_CustomShadowLayers: 0 |
|
||||||
m_ShadowLayerMask: 1 |
|
||||||
m_ShadowRenderingLayers: 1 |
|
||||||
m_LightCookieSize: {x: 1, y: 1} |
|
||||||
m_LightCookieOffset: {x: 0, y: 0} |
|
||||||
m_SoftShadowQuality: 0 |
|
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: f439504be2b436f48b0ee92cfc454b9e |
|
||||||
PrefabImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,51 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!1 &3820501177425279086 |
|
||||||
GameObject: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
serializedVersion: 6 |
|
||||||
m_Component: |
|
||||||
- component: {fileID: 3056669396116684858} |
|
||||||
- component: {fileID: 8350361734490722715} |
|
||||||
m_Layer: 0 |
|
||||||
m_Name: Global Volume |
|
||||||
m_TagString: Untagged |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_NavMeshLayer: 0 |
|
||||||
m_StaticEditorFlags: 0 |
|
||||||
m_IsActive: 1 |
|
||||||
--- !u!4 &3056669396116684858 |
|
||||||
Transform: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 3820501177425279086} |
|
||||||
serializedVersion: 2 |
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
|
||||||
m_LocalPosition: {x: 0.36618492, y: -1.27, z: 1.7488995} |
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1} |
|
||||||
m_ConstrainProportionsScale: 0 |
|
||||||
m_Children: [] |
|
||||||
m_Father: {fileID: 0} |
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
||||||
--- !u!114 &8350361734490722715 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 3820501177425279086} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 0 |
|
||||||
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_IsGlobal: 1 |
|
||||||
priority: 0 |
|
||||||
blendDistance: 0 |
|
||||||
weight: 1 |
|
||||||
sharedProfile: {fileID: 11400000, guid: 10fc4df2da32a41aaa32d77bc913491c, type: 2} |
|
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 1d71627acfda873449b22d23b56a7d07 |
|
||||||
PrefabImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,29 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// 游戏对象信息基类 |
|
||||||
/// </summary> |
|
||||||
public class BaseGameObjInfo : MonoBehaviour { |
|
||||||
|
|
||||||
public long gameObjID;//游戏对象ID |
|
||||||
public CloneObjType gameObjType;//游戏对象类型 |
|
||||||
|
|
||||||
public long GameObjID { get { return gameObjID; } } |
|
||||||
|
|
||||||
public void SetGameObjID(long id) |
|
||||||
{ |
|
||||||
gameObjID = id; |
|
||||||
} |
|
||||||
|
|
||||||
// Use this for initialization |
|
||||||
void Start () { |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
// Update is called once per frame |
|
||||||
void Update () { |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: a4c084de76af8c349ae1f222d8716b1b |
|
@ -1,11 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
public class CameraViewDataForFunArea : MonoBehaviour |
|
||||||
{ |
|
||||||
public Vector3 TargetPos; |
|
||||||
public float CameraX; |
|
||||||
public float CameraY; |
|
||||||
public float Distance; |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 78722e55a6f8aa54db9f860ce5caf529 |
|
@ -1,24 +0,0 @@ |
|||||||
|
|
||||||
/// <summary> |
|
||||||
/// 克隆游戏对象信息基类 |
|
||||||
/// </summary> |
|
||||||
public class CloneGameObjInfo : BaseGameObjInfo |
|
||||||
{ |
|
||||||
public string buildNum;//楼号 |
|
||||||
public int floorNum;//层号 |
|
||||||
public int interlayerNum;//夹层号,0表示不是夹层,1表示第一个夹层 |
|
||||||
|
|
||||||
public int Layer; |
|
||||||
|
|
||||||
public bool ShoworHidden;//显示或隐藏 |
|
||||||
public string FullName; |
|
||||||
public string SpecialTag = ""; |
|
||||||
} |
|
||||||
|
|
||||||
public struct SpreadObjHandle |
|
||||||
{ |
|
||||||
public long gameObjId; |
|
||||||
public CloneObjType gameObjType; |
|
||||||
public bool isShow;//是否显示:true表示显示出来;false表示隐藏 |
|
||||||
} |
|
||||||
|
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 77fb9be10c0901f46a68b3ee09e7972b |
|
@ -1,307 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// 克隆类型(枚举) |
|
||||||
/// </summary> |
|
||||||
public enum CloneObjType |
|
||||||
{ |
|
||||||
None = 0, |
|
||||||
|
|
||||||
//基本信息能克隆的实体类型 |
|
||||||
AdjoiningBuildings = 1,//毗邻 |
|
||||||
NoParkingArea = 2,//禁停区 |
|
||||||
KeyParts = 3,//重点部位 |
|
||||||
FireControlRoom = 4,//消控室 |
|
||||||
PumpRoom = 5,//泵房 |
|
||||||
BubblePumpRoom = 6,//泡沫泵房 |
|
||||||
WaterTank = 7,//水罐 |
|
||||||
PostFireHydrant = 8,//地上消火栓 |
|
||||||
FlushFireHydrant = 9,//地下消火栓 |
|
||||||
PumpAdapter = 10,//水泵接合器 |
|
||||||
FireWaterMonitor = 11,//消防水炮 |
|
||||||
FoamHydrant = 12,//泡沫栓 |
|
||||||
IndoorFireHydrant = 13,//室内消火栓 |
|
||||||
|
|
||||||
//消防力量设定图标克隆类型 |
|
||||||
ZongDuiIcon = 101,//中队图标 |
|
||||||
ZhiDuiIcon = 102,//大队图标 |
|
||||||
DaDuiIcon = 103,//支队图标 |
|
||||||
ZhongDuiIcon = 104,//总队图标 |
|
||||||
|
|
||||||
//灾情能克隆的实体类型 |
|
||||||
//注意:在增加灾情类型的时候要在带入答案的地方处理 |
|
||||||
NormalFire = 200,//普通火 |
|
||||||
FullSurfaceFire = 201,//全液面火 |
|
||||||
Insider = 202,//知情人 |
|
||||||
TrappedPerson = 203,//被困人员 |
|
||||||
WoundedPerson = 204,//伤员 |
|
||||||
FlowingFire = 205,//地面流淌火 |
|
||||||
Boilover = 206,//泄露 |
|
||||||
Smoke = 207,//烟雾 |
|
||||||
FireOpenType = 208,//敞开式燃烧 |
|
||||||
FireBreakThough = 209,//突破火 |
|
||||||
ForcibleEntryDoor = 210,//破拆门 |
|
||||||
|
|
||||||
//消防力量克隆类型:车辆类型 |
|
||||||
WaterTanker = 250,//水罐车 |
|
||||||
FoamFireTruck = 251,//泡沫车 |
|
||||||
HighSprayingCar = 252,//高喷车 |
|
||||||
LadderTruck = 253,//云梯车 |
|
||||||
LiftTruck = 254,//举高车 |
|
||||||
SmokeCar = 255,//排烟车 |
|
||||||
RescueVehicle = 256,//抢险救援车 |
|
||||||
LightingVehicle = 257,//照明车 |
|
||||||
InflatableCar = 258,//供气车 |
|
||||||
CommandVehicle = 259,//指挥车 |
|
||||||
ForcibleCar = 260,//破拆车 |
|
||||||
EquipmentCar = 261,//器材车 |
|
||||||
RemoteWaterSupplyTruck = 262,//远程供水车 |
|
||||||
DecontaminationTruck = 263,//洗消车 |
|
||||||
LiquidSupplyTruck = 264,//供液车 |
|
||||||
FoodSecurityTruck = 265,//饮食保障车 |
|
||||||
EquipmentTransportTruck = 266,//装备运输车 |
|
||||||
EquipmentRepairTruck = 267,//装备抢修车 |
|
||||||
MedicalSupportTruck = 268,//卫勤保障车 |
|
||||||
PowderFireTruck = 269,//干粉车 |
|
||||||
|
|
||||||
//消防力量克隆类型:消防员,移动水炮,灭火机器人等特殊装备类型 |
|
||||||
Fireman = 300,//消防员 |
|
||||||
MobileWaterCannon = 301,//移动水炮 |
|
||||||
FireFightingRobot = 302,//灭火机器人 |
|
||||||
SnowstormCannon = 303,//暴风雪炮 |
|
||||||
|
|
||||||
//工具克隆类型 |
|
||||||
WarningLine = 350,//警戒线 |
|
||||||
FireHose = 351,//消防水带 |
|
||||||
Attack = 352,//进攻 |
|
||||||
Retreat = 353,//撤退 |
|
||||||
CommandPost = 354,//火场指挥部 |
|
||||||
StagingArea = 355,//集结区 |
|
||||||
WaterCurtainHose = 356,//水幕水带 |
|
||||||
RegionalSettings = 357,//区域设定 |
|
||||||
SafeArea = 358,//安全区 |
|
||||||
ZhongDuiCommander = 359,//中队指挥员 |
|
||||||
ZhiDuiCommander = 360,//支队指挥员 |
|
||||||
SupportArea = 361,//战勤保障集结区 |
|
||||||
WaterBisector = 362,//二分水器 |
|
||||||
WaterTrisector = 363,//三分水器 |
|
||||||
SafetyOfficer = 364,//安全员 |
|
||||||
//WaterCurtain=365,//水幕水带 |
|
||||||
FoamHookPipe = 365,//泡沫钩管 |
|
||||||
TheSurroundingWaterPoint = 366,//周边水源取水点 |
|
||||||
FirePoolPoint = 367,//消防水池取水点 |
|
||||||
DecontaminationArea = 368,//洗消区 |
|
||||||
SmokeExhaustFan = 369,//排烟风机 |
|
||||||
|
|
||||||
//技能要克隆的物体的克隆类型 |
|
||||||
BlockOff = 400,//封堵 |
|
||||||
DrawLine = 401,//铺设的管线 |
|
||||||
LifeLightLine = 402,//铺设的就剩照明线 |
|
||||||
|
|
||||||
//截图工具克隆类型 |
|
||||||
Rectangle = 450,//矩形 |
|
||||||
Circular = 451,//圆形 |
|
||||||
Arrow = 452,//箭头 |
|
||||||
Text = 453,//文字 |
|
||||||
|
|
||||||
//战术板工具克隆类型 |
|
||||||
TBArrow = 500,//战术板箭头 |
|
||||||
CutOff = 501,//堵截 |
|
||||||
BreakThrough = 502,//突破 |
|
||||||
Segment = 503,//分割 |
|
||||||
Suppress = 504,//围剿 |
|
||||||
PincerAttack = 505,//夹攻 |
|
||||||
JointAttack = 506,//合击 |
|
||||||
//通信保障克隆类型 |
|
||||||
UVA = 550,//无人机 |
|
||||||
MonitorBall = 551,//布控球 |
|
||||||
MeshSolider = 552,//mesh单兵 |
|
||||||
FourGSolider = 553,//4g单兵图传 |
|
||||||
DigitalInterphone = 554,//数字对讲机 |
|
||||||
FourGBS = 555,//4g基站 |
|
||||||
VoiceReplayStation = 556,//语音中继台 |
|
||||||
PortableSateLliteStation = 557,//卫星便携站 |
|
||||||
PaintingLanguagePlatform = 558,//语绘平台 |
|
||||||
MeshRelaying = 559, //mesh中继 |
|
||||||
SignalBox = 560,//信号塔 |
|
||||||
//联动力量克隆类型 |
|
||||||
Cruiser = 600,//巡逻车 |
|
||||||
Motorbike = 601,//摩托车 |
|
||||||
Ambulance = 602,//救护车 |
|
||||||
PatrolWagon = 603,//警车 |
|
||||||
ElectricRepairCar = 604,//电力抢修车 |
|
||||||
GasRepairCar = 605,//燃气抢修车 |
|
||||||
WaterSupplyRepairCar = 606,//供水抢修车 |
|
||||||
EnvironmentalTestingVehicle = 607,//环保检测车 |
|
||||||
TransportVehicle = 608,//交通运输车 |
|
||||||
SanitartPreventionVehicle = 609,//卫生防疫车 |
|
||||||
EmergencyCommunicationVehicle = 610,//应急通讯车 |
|
||||||
FamilyCar = 611,//家庭轿车 |
|
||||||
EnterpriseMechanic = 612,//企业技工 |
|
||||||
PublicSecurity = 613,//保安 |
|
||||||
OfficeClerk = 614,//职员 |
|
||||||
Manager = 615,//经理 |
|
||||||
TechnicalEngineer = 616,//技术工程师 |
|
||||||
Doctor = 617,//医生 |
|
||||||
|
|
||||||
Team = 1000,//消防员组 |
|
||||||
StaticGameObject = 1001,//场景中固有的静态游戏实体对象 |
|
||||||
StaticUI = 1002//静态UI |
|
||||||
} |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// 根据克隆类型获取其对应的中文名称。 |
|
||||||
/// Tips:添加克隆类型时,注意同步添加到CloneTypeDic字典中 |
|
||||||
/// </summary> |
|
||||||
public class CloneObjTypeName |
|
||||||
{ |
|
||||||
private CloneObjTypeName() { } |
|
||||||
private static CloneObjTypeName instance; |
|
||||||
private static Dictionary<CloneObjType, string> CloneTypeDic; |
|
||||||
public static CloneObjTypeName Instance |
|
||||||
{ |
|
||||||
get |
|
||||||
{ |
|
||||||
if (null == instance) |
|
||||||
{ |
|
||||||
instance = new CloneObjTypeName(); |
|
||||||
InitCloneTypeDic(); |
|
||||||
} |
|
||||||
return instance; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public string GetCloneObjTypeName(CloneObjType type) |
|
||||||
{ |
|
||||||
string name = "未命名"; |
|
||||||
CloneTypeDic.TryGetValue(type, out name); |
|
||||||
return name; |
|
||||||
} |
|
||||||
|
|
||||||
private static void InitCloneTypeDic() |
|
||||||
{ |
|
||||||
CloneTypeDic = new Dictionary<CloneObjType, string>(); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.AdjoiningBuildings, "毗邻"); |
|
||||||
CloneTypeDic.Add(CloneObjType.NoParkingArea, "禁停区"); |
|
||||||
CloneTypeDic.Add(CloneObjType.KeyParts, "重点部位"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FireControlRoom, "消控室"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PumpRoom, "泵房"); |
|
||||||
CloneTypeDic.Add(CloneObjType.BubblePumpRoom, "泡沫泵房"); |
|
||||||
CloneTypeDic.Add(CloneObjType.WaterTank, "水罐"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PostFireHydrant, "地上消火栓"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FlushFireHydrant, "地下消火栓"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PumpAdapter, "水泵接合器"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FireWaterMonitor, "消防水炮"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FoamHydrant, "泡沫栓"); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.NormalFire, "普通火"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FullSurfaceFire, "全液面火"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Insider, "知情人"); |
|
||||||
CloneTypeDic.Add(CloneObjType.TrappedPerson, "被困人员"); |
|
||||||
CloneTypeDic.Add(CloneObjType.WoundedPerson, "伤员"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Boilover, "泄露"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Smoke, "烟雾"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FlowingFire, "流淌火"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FireOpenType, "敞开式燃烧"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FireBreakThough, "突破火"); |
|
||||||
CloneTypeDic.Add(CloneObjType.ForcibleEntryDoor, "破拆点"); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.WaterTanker, "水罐车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FoamFireTruck, "泡沫车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.HighSprayingCar, "高喷车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.LadderTruck, "云梯车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.LiftTruck, "举高车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SmokeCar, "排烟车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.RescueVehicle, "抢险救援车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.LightingVehicle, "照明车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.InflatableCar, "供气车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.CommandVehicle, "指挥车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.ForcibleCar, "破拆车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.EquipmentCar, "器材车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.RemoteWaterSupplyTruck, "远程供水车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.DecontaminationTruck, "洗消车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.LiquidSupplyTruck, "供液车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FoodSecurityTruck, "饮食保障车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.EquipmentTransportTruck, "装备运输车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.EquipmentRepairTruck, "装备抢修车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.MedicalSupportTruck, "卫勤保障车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PowderFireTruck, "干粉车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Fireman, "消防员"); |
|
||||||
CloneTypeDic.Add(CloneObjType.MobileWaterCannon, "移动水炮"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FireFightingRobot, "灭火机器人"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SnowstormCannon, "暴风雪炮"); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.WarningLine, "警戒线"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FireHose, "水带"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Attack, "进攻"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Retreat, "撤退"); |
|
||||||
CloneTypeDic.Add(CloneObjType.CommandPost, "指挥部"); |
|
||||||
CloneTypeDic.Add(CloneObjType.StagingArea, "集结区"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SafeArea, "安全区"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SupportArea, "战勤保障集结区"); |
|
||||||
CloneTypeDic.Add(CloneObjType.ZhongDuiCommander, "中队指挥员"); |
|
||||||
CloneTypeDic.Add(CloneObjType.ZhiDuiCommander, "支队指挥员"); |
|
||||||
CloneTypeDic.Add(CloneObjType.WaterCurtainHose, "水幕水带"); |
|
||||||
CloneTypeDic.Add(CloneObjType.RegionalSettings, "区域设定"); |
|
||||||
CloneTypeDic.Add(CloneObjType.WaterBisector, "二分水器"); |
|
||||||
CloneTypeDic.Add(CloneObjType.WaterTrisector, "三分水器"); |
|
||||||
//CloneTypeDic.Add(CloneObjType.WaterCurtainHose, "水幕水带"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SafetyOfficer, "安全员"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FoamHookPipe, "泡沫钩管"); |
|
||||||
CloneTypeDic.Add(CloneObjType.TheSurroundingWaterPoint, "周边水源取水点"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FirePoolPoint, "消防水池取水点"); |
|
||||||
CloneTypeDic.Add(CloneObjType.DecontaminationArea, "洗消区"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SmokeExhaustFan, "排烟机"); |
|
||||||
|
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.BlockOff, "封堵"); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.Rectangle, "矩形"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Circular, "圆形"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Arrow, "箭头"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Text, "文字"); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.TBArrow, "战术箭头"); |
|
||||||
CloneTypeDic.Add(CloneObjType.CutOff, "堵截"); |
|
||||||
CloneTypeDic.Add(CloneObjType.BreakThrough, "突破"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Segment, "分割"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Suppress, "围剿"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PincerAttack, "夹攻"); |
|
||||||
CloneTypeDic.Add(CloneObjType.JointAttack, "合击"); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.UVA, "无人机"); |
|
||||||
CloneTypeDic.Add(CloneObjType.MonitorBall, "布控球"); |
|
||||||
CloneTypeDic.Add(CloneObjType.MeshSolider, "mesh单兵"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FourGSolider, "4g单兵图传"); |
|
||||||
CloneTypeDic.Add(CloneObjType.DigitalInterphone, "数字对讲机"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FourGBS, "4g基站"); |
|
||||||
CloneTypeDic.Add(CloneObjType.VoiceReplayStation, "语音中继台"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PortableSateLliteStation, "卫星便携站"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PaintingLanguagePlatform, "语绘平台"); |
|
||||||
CloneTypeDic.Add(CloneObjType.MeshRelaying, "mesh中继"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SignalBox, "信号塔"); |
|
||||||
|
|
||||||
CloneTypeDic.Add(CloneObjType.Cruiser, "巡逻车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Motorbike, "摩托车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Ambulance, "救护车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PatrolWagon, "警车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.ElectricRepairCar, "电力抢修车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.GasRepairCar, "燃气抢修车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.WaterSupplyRepairCar, "供水抢修车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.EnvironmentalTestingVehicle, "环保检测车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.TransportVehicle, "交通运输车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.SanitartPreventionVehicle, "卫生防疫车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.EmergencyCommunicationVehicle, "应急通讯车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.FamilyCar, "家庭轿车"); |
|
||||||
CloneTypeDic.Add(CloneObjType.EnterpriseMechanic, "企业技工"); |
|
||||||
CloneTypeDic.Add(CloneObjType.PublicSecurity, "保安"); |
|
||||||
CloneTypeDic.Add(CloneObjType.OfficeClerk, "职员"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Manager, "经理"); |
|
||||||
CloneTypeDic.Add(CloneObjType.TechnicalEngineer, "技术工程师"); |
|
||||||
CloneTypeDic.Add(CloneObjType.Doctor, "医生"); |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: b9e79d9d52924c24abfeef77eb7fdca6 |
|
@ -1,16 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// 该脚本挂在点击可实例化物体的模型上 |
|
||||||
/// 选择该模型上具体可实例化的Clone类型 |
|
||||||
/// </summary> |
|
||||||
[DisallowMultipleComponent] |
|
||||||
public class CloneableEnums : MonoBehaviour { |
|
||||||
|
|
||||||
public List<CloneObjType> CloneableTypes = new List<CloneObjType>(); |
|
||||||
|
|
||||||
//是否处理克隆操作点击碰撞的点 |
|
||||||
public bool isHandleCloneHitPoint; |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 1c0e57298488ae54aba3ef60b0b26920 |
|
@ -1,20 +0,0 @@ |
|||||||
using System; |
|
||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
public class EvacuatePoint : MonoBehaviour |
|
||||||
{ |
|
||||||
public static List<Vector3> evacuatePoints = new List<Vector3>(); |
|
||||||
|
|
||||||
private void Awake() |
|
||||||
{ |
|
||||||
evacuatePoints.Clear(); |
|
||||||
} |
|
||||||
|
|
||||||
// Start is called before the first frame update |
|
||||||
void Start() |
|
||||||
{ |
|
||||||
evacuatePoints.Add(transform.position); |
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: d00f7578dda0a1c41b151766a6426479 |
|
@ -1,15 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
public class FloorMessage : MonoBehaviour |
|
||||||
{ |
|
||||||
// Use this for initialization |
|
||||||
//使用方法:将脚本挂在场景中每一层的室内结构和室外结构的父对象上 |
|
||||||
//功能:记录建筑每层结构的层信息 |
|
||||||
|
|
||||||
public string buildNum;//楼号 |
|
||||||
public int floorNum;//层号 |
|
||||||
public int interlayerNum;//夹层号,0表示不是夹层,1表示第一个夹层 |
|
||||||
public Transform targetTrans;//切楼层时候用来定位的目标点 |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 7eb663056acb2644698df34826b5c60f |
|
@ -1,38 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
public class GetAreaTargetManager : MonoBehaviour |
|
||||||
{ |
|
||||||
public Vector3 cameraInitPos = new Vector3();//相机Target初始位置 |
|
||||||
public float initDis;//相机离Target距离的初始值 |
|
||||||
public float init_X;//相机水平旋转初始值 |
|
||||||
public float init_Y;//相机竖直旋转初始值 |
|
||||||
|
|
||||||
public static GetAreaTargetManager Instance; |
|
||||||
[SerializeField] |
|
||||||
private List<Transform> children; |
|
||||||
private void Awake() |
|
||||||
{ |
|
||||||
children = new List<Transform>(); |
|
||||||
foreach (Transform item in transform) |
|
||||||
{ |
|
||||||
children.Add(item); |
|
||||||
} |
|
||||||
Instance = this; |
|
||||||
} |
|
||||||
public Transform GetTarget(string name) |
|
||||||
{ |
|
||||||
Transform result = null; |
|
||||||
foreach (var item in children) |
|
||||||
{ |
|
||||||
if (item.name == name) |
|
||||||
{ |
|
||||||
result = item; |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
return result; |
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: ad1ddb7b6b473ac4ea26f44aea624e2b |
|
@ -1,51 +0,0 @@ |
|||||||
using UnityEngine; |
|
||||||
using System.Collections; |
|
||||||
|
|
||||||
public class LoadShader : MonoBehaviour |
|
||||||
{ |
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created |
|
||||||
void Start() |
|
||||||
{ |
|
||||||
#if !UNITY_WEBGL || UNITY_EDITOR |
|
||||||
SetShader(transform); |
|
||||||
#endif |
|
||||||
} |
|
||||||
|
|
||||||
// Update is called once per frame |
|
||||||
void Update() |
|
||||||
{ |
|
||||||
|
|
||||||
} |
|
||||||
public void SetShader(Transform child) |
|
||||||
{ |
|
||||||
if (child.childCount > 0) |
|
||||||
{ |
|
||||||
for (int i = 0; i < child.childCount; i++) |
|
||||||
{ |
|
||||||
SetShader(child.GetChild(i)); |
|
||||||
} |
|
||||||
} |
|
||||||
else |
|
||||||
{ |
|
||||||
if (child.GetComponent<Renderer>()) |
|
||||||
{ |
|
||||||
var r = child.GetComponent<Renderer>(); |
|
||||||
foreach (var material in r.materials) |
|
||||||
{ |
|
||||||
//Debug.Log(material.shader.name); |
|
||||||
if (material.shader.name == "Universal Render Pipeline/Lit") |
|
||||||
{ |
|
||||||
StartCoroutine(setshader(material)); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
IEnumerator setshader(Material m) |
|
||||||
{ |
|
||||||
m.shader = null; |
|
||||||
yield return new WaitForSeconds(0.1f); |
|
||||||
m.shader = Shader.Find("Universal Render Pipeline/Lit"); |
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 5627e6832e9378c4e8632a52efa22183 |
|
@ -1,18 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
public class PathFindable : MonoBehaviour |
|
||||||
{ |
|
||||||
// Start is called before the first frame update |
|
||||||
void Start() |
|
||||||
{ |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
// Update is called once per frame |
|
||||||
void Update() |
|
||||||
{ |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 43929be615d468749bba2f9917117a45 |
|
@ -1,9 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
public class TeamTargetItem : MonoBehaviour |
|
||||||
{ |
|
||||||
public List<string> TaskNames; |
|
||||||
public string TankName; |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 408648110f0742348a48d10da40f3ea5 |
|
@ -1,52 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// 组任务目标点管理 |
|
||||||
/// </summary> |
|
||||||
public class TeamTargetManager : MonoBehaviour |
|
||||||
{ |
|
||||||
public static TeamTargetManager instance; |
|
||||||
|
|
||||||
private void Awake() |
|
||||||
{ |
|
||||||
instance = this; |
|
||||||
} |
|
||||||
|
|
||||||
public static TeamTargetManager GetInstance |
|
||||||
{ |
|
||||||
get |
|
||||||
{ |
|
||||||
if (instance == null) |
|
||||||
{ |
|
||||||
string path = "TeamTargetParent"; |
|
||||||
GameObject obj = Resources.Load<GameObject>(path); |
|
||||||
GameObject clone = Instantiate(obj); |
|
||||||
clone.name = "TeamTargetParent"; |
|
||||||
instance = clone.GetComponent<TeamTargetManager>(); |
|
||||||
} |
|
||||||
return instance; |
|
||||||
} |
|
||||||
} |
|
||||||
/// <summary> |
|
||||||
/// 罐区类组任务获取目标点 |
|
||||||
/// </summary> |
|
||||||
/// <param name="taskName">任务名称</param> |
|
||||||
/// <param name="tankName">罐区名称</param> |
|
||||||
/// <returns></returns> |
|
||||||
public Vector3 GetTargetPos(string taskName, string tankName) |
|
||||||
{ |
|
||||||
Vector3 pos = Vector3.zero; |
|
||||||
foreach (Transform item in transform) |
|
||||||
{ |
|
||||||
if (item.GetComponent<TeamTargetItem>().TaskNames.Contains(taskName) && |
|
||||||
item.GetComponent<TeamTargetItem>().TankName == tankName) |
|
||||||
{ |
|
||||||
pos = item.position; |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
return pos; |
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: de3dcbb1284b2394a8049095e2bae278 |
|
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 9bb35de31da23b34bb899d32ae717d1f |
guid: 24f7279390dca0444a213c60fb6b3d36 |
||||||
folderAsset: yes |
folderAsset: yes |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
Binary file not shown.
@ -1,9 +1,9 @@ |
|||||||
ManifestFileVersion: 0 |
ManifestFileVersion: 0 |
||||||
UnityVersion: 6000.0.13f1 |
UnityVersion: 6000.0.13f1 |
||||||
CRC: 2423714078 |
CRC: 3707465622 |
||||||
HashAppended: 0 |
HashAppended: 0 |
||||||
AssetBundleManifest: |
AssetBundleManifest: |
||||||
AssetBundleInfos: |
AssetBundleInfos: |
||||||
Info_0: |
Info_0: |
||||||
Name: mainbuilding |
Name: buildingscene |
||||||
Dependencies: {} |
Dependencies: {} |
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: a99c4e4425c297a4bb4b986ac31e6dd9 |
guid: 1000138ef3da55f43a8ee161e8fedeed |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 6dfe89ffdf17ae54a86148c5d467b98a |
guid: 06e9c7a63ae536845a248957b765de93 |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
Before Width: | Height: | Size: 28 MiB After Width: | Height: | Size: 34 MiB |
@ -0,0 +1,75 @@ |
|||||||
|
ManifestFileVersion: 0 |
||||||
|
UnityVersion: 6000.0.13f1 |
||||||
|
CRC: 999756804 |
||||||
|
Hashes: |
||||||
|
AssetFileHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: 3b81cb96a71380a1085a398e71a9d60b |
||||||
|
TypeTreeHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: 69db88571a9848707cfbfd5e00d1168f |
||||||
|
IncrementalBuildHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: 93c79b51923570e29495a4dcad0c7bbf |
||||||
|
HashAppended: 0 |
||||||
|
ClassTypes: |
||||||
|
- Class: 1 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 4 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 21 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 23 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 28 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 33 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 43 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 48 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 64 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 65 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 89 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 104 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 43929be615d468749bba2f9917117a45, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 1e3fdca004f2d45fe8abbed571a8abd5, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: de3dcbb1284b2394a8049095e2bae278, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 1c0e57298488ae54aba3ef60b0b26920, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: ad1ddb7b6b473ac4ea26f44aea624e2b, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 35e95dc5ff2b64380880dd7ac5922847, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 6eeb5dc026fdf4b488bc7ae0138ab719, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: b0f36456c352b534cb76fe2cc683b76d, type: 3} |
||||||
|
- Class: 115 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 157 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 196 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 238 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 850595691 |
||||||
|
Script: {instanceID: 0} |
||||||
|
SerializeReferenceClassIdentifiers: [] |
||||||
|
Assets: |
||||||
|
- Assets/ScenesKH/BuildingScene.unity |
||||||
|
Dependencies: [] |
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: f7ee3c0a6f787824685609d1412f700b |
guid: 4b814fe2941a86f4fafc366f6eee927d |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: ce8f4da9287d4b9419593b4ea8bd1a49 |
guid: 396a78c554822da4a8a1a0cc77b286ae |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
Binary file not shown.
@ -1,43 +0,0 @@ |
|||||||
ManifestFileVersion: 0 |
|
||||||
UnityVersion: 6000.0.13f1 |
|
||||||
CRC: 462342168 |
|
||||||
Hashes: |
|
||||||
AssetFileHash: |
|
||||||
serializedVersion: 2 |
|
||||||
Hash: 053996eb974198d79d808aedf6db7d67 |
|
||||||
TypeTreeHash: |
|
||||||
serializedVersion: 2 |
|
||||||
Hash: c748fa370785de0406d4f5837c667cef |
|
||||||
IncrementalBuildHash: |
|
||||||
serializedVersion: 2 |
|
||||||
Hash: 6ab886bce7983c7b17381af2aa7524be |
|
||||||
HashAppended: 0 |
|
||||||
ClassTypes: |
|
||||||
- Class: 1 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 4 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 21 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 23 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 28 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 33 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 43 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 48 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 64 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 114 |
|
||||||
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3} |
|
||||||
- Class: 115 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 215 |
|
||||||
Script: {instanceID: 0} |
|
||||||
SerializeReferenceClassIdentifiers: [] |
|
||||||
Assets: |
|
||||||
- Assets/MainBuilding.prefab |
|
||||||
Dependencies: [] |
|
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 5ec9402bca98a9342a37df020e9a5a57 |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: b50a9ee68374ab14bb926786792fb21e |
guid: 058d85b1d4c8f614da9cd4d3d021c45c |
||||||
folderAsset: yes |
folderAsset: yes |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
Binary file not shown.
@ -1,9 +1,9 @@ |
|||||||
ManifestFileVersion: 0 |
ManifestFileVersion: 0 |
||||||
UnityVersion: 6000.0.13f1 |
UnityVersion: 6000.0.13f1 |
||||||
CRC: 116780765 |
CRC: 1521941461 |
||||||
HashAppended: 0 |
HashAppended: 0 |
||||||
AssetBundleManifest: |
AssetBundleManifest: |
||||||
AssetBundleInfos: |
AssetBundleInfos: |
||||||
Info_0: |
Info_0: |
||||||
Name: mainbuilding |
Name: buildingscene |
||||||
Dependencies: {} |
Dependencies: {} |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 650897648166e83439f55e3c7b2ed238 |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 77b2c413f9acb844f81a14dcfbcc8f20 |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
Binary file not shown.
@ -0,0 +1,75 @@ |
|||||||
|
ManifestFileVersion: 0 |
||||||
|
UnityVersion: 6000.0.13f1 |
||||||
|
CRC: 677187609 |
||||||
|
Hashes: |
||||||
|
AssetFileHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: dbe74f29e03fda83ff720e2f3d696bd8 |
||||||
|
TypeTreeHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: 69db88571a9848707cfbfd5e00d1168f |
||||||
|
IncrementalBuildHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: dd50a753aaaa9fffb4bc4da3c05c598f |
||||||
|
HashAppended: 0 |
||||||
|
ClassTypes: |
||||||
|
- Class: 1 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 4 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 21 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 23 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 28 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 33 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 43 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 48 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 64 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 65 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 89 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 104 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 43929be615d468749bba2f9917117a45, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 1e3fdca004f2d45fe8abbed571a8abd5, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: de3dcbb1284b2394a8049095e2bae278, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 1c0e57298488ae54aba3ef60b0b26920, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: ad1ddb7b6b473ac4ea26f44aea624e2b, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 35e95dc5ff2b64380880dd7ac5922847, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 6eeb5dc026fdf4b488bc7ae0138ab719, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: b0f36456c352b534cb76fe2cc683b76d, type: 3} |
||||||
|
- Class: 115 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 157 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 196 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 238 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 850595691 |
||||||
|
Script: {instanceID: 0} |
||||||
|
SerializeReferenceClassIdentifiers: [] |
||||||
|
Assets: |
||||||
|
- Assets/ScenesKH/BuildingScene.unity |
||||||
|
Dependencies: [] |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 32f01d3cea527d346bca869a9bf0a17d |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: c4ef09839d5882f44a802b2d156d08cc |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 05b9678640bb5144dbb62d727e375844 |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 6c700b21815c5f248a2a5460f745b204 |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,43 +0,0 @@ |
|||||||
ManifestFileVersion: 0 |
|
||||||
UnityVersion: 6000.0.13f1 |
|
||||||
CRC: 4147907553 |
|
||||||
Hashes: |
|
||||||
AssetFileHash: |
|
||||||
serializedVersion: 2 |
|
||||||
Hash: 426ae055829ae70e5711bb440401efec |
|
||||||
TypeTreeHash: |
|
||||||
serializedVersion: 2 |
|
||||||
Hash: c748fa370785de0406d4f5837c667cef |
|
||||||
IncrementalBuildHash: |
|
||||||
serializedVersion: 2 |
|
||||||
Hash: 69369ab8638b6b22135f4453114f1644 |
|
||||||
HashAppended: 0 |
|
||||||
ClassTypes: |
|
||||||
- Class: 1 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 4 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 21 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 23 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 28 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 33 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 43 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 48 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 64 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 114 |
|
||||||
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3} |
|
||||||
- Class: 115 |
|
||||||
Script: {instanceID: 0} |
|
||||||
- Class: 215 |
|
||||||
Script: {instanceID: 0} |
|
||||||
SerializeReferenceClassIdentifiers: [] |
|
||||||
Assets: |
|
||||||
- Assets/MainBuilding.prefab |
|
||||||
Dependencies: [] |
|
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 7389fa3f3e1066442aa671bf83aff984 |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 657c6cead85814749a1ce4ef59273cc4 |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: ba062aa6c92b140379dbc06b43dd3b9b |
|
||||||
folderAsset: yes |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 8a0c9218a650547d98138cd835033977 |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1484670163 |
|
||||||
licenseType: Store |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 24 KiB |
@ -1,134 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 727a75301c3d24613a3ebcec4a24c2c8 |
|
||||||
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: 0 |
|
||||||
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 |
|
||||||
- serializedVersion: 3 |
|
||||||
buildTarget: Android |
|
||||||
maxTextureSize: 2048 |
|
||||||
resizeAlgorithm: 0 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
androidETC2FallbackOverride: 0 |
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|
||||||
- serializedVersion: 3 |
|
||||||
buildTarget: iPhone |
|
||||||
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: |
|
@ -1,654 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!114 &1 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12004, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_PixelRect: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 45 |
|
||||||
width: 1666 |
|
||||||
height: 958 |
|
||||||
m_ShowMode: 4 |
|
||||||
m_Title: |
|
||||||
m_RootView: {fileID: 6} |
|
||||||
m_MinSize: {x: 950, y: 542} |
|
||||||
m_MaxSize: {x: 10000, y: 10000} |
|
||||||
--- !u!114 &2 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: [] |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 466 |
|
||||||
width: 290 |
|
||||||
height: 442 |
|
||||||
m_MinSize: {x: 234, y: 271} |
|
||||||
m_MaxSize: {x: 10004, y: 10021} |
|
||||||
m_ActualView: {fileID: 14} |
|
||||||
m_Panes: |
|
||||||
- {fileID: 14} |
|
||||||
m_Selected: 0 |
|
||||||
m_LastSelected: 0 |
|
||||||
--- !u!114 &3 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: |
|
||||||
- {fileID: 4} |
|
||||||
- {fileID: 2} |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 973 |
|
||||||
y: 0 |
|
||||||
width: 290 |
|
||||||
height: 908 |
|
||||||
m_MinSize: {x: 234, y: 492} |
|
||||||
m_MaxSize: {x: 10004, y: 14042} |
|
||||||
vertical: 1 |
|
||||||
controlID: 226 |
|
||||||
--- !u!114 &4 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: [] |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 290 |
|
||||||
height: 466 |
|
||||||
m_MinSize: {x: 204, y: 221} |
|
||||||
m_MaxSize: {x: 4004, y: 4021} |
|
||||||
m_ActualView: {fileID: 17} |
|
||||||
m_Panes: |
|
||||||
- {fileID: 17} |
|
||||||
m_Selected: 0 |
|
||||||
m_LastSelected: 0 |
|
||||||
--- !u!114 &5 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: [] |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 466 |
|
||||||
width: 973 |
|
||||||
height: 442 |
|
||||||
m_MinSize: {x: 202, y: 221} |
|
||||||
m_MaxSize: {x: 4002, y: 4021} |
|
||||||
m_ActualView: {fileID: 15} |
|
||||||
m_Panes: |
|
||||||
- {fileID: 15} |
|
||||||
m_Selected: 0 |
|
||||||
m_LastSelected: 0 |
|
||||||
--- !u!114 &6 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12008, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: |
|
||||||
- {fileID: 7} |
|
||||||
- {fileID: 8} |
|
||||||
- {fileID: 9} |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 1666 |
|
||||||
height: 958 |
|
||||||
m_MinSize: {x: 950, y: 542} |
|
||||||
m_MaxSize: {x: 10000, y: 10000} |
|
||||||
--- !u!114 &7 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12011, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: [] |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 1666 |
|
||||||
height: 30 |
|
||||||
m_MinSize: {x: 0, y: 0} |
|
||||||
m_MaxSize: {x: 0, y: 0} |
|
||||||
m_LastLoadedLayoutName: Tutorial |
|
||||||
--- !u!114 &8 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: |
|
||||||
- {fileID: 10} |
|
||||||
- {fileID: 3} |
|
||||||
- {fileID: 11} |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 30 |
|
||||||
width: 1666 |
|
||||||
height: 908 |
|
||||||
m_MinSize: {x: 713, y: 492} |
|
||||||
m_MaxSize: {x: 18008, y: 14042} |
|
||||||
vertical: 0 |
|
||||||
controlID: 74 |
|
||||||
--- !u!114 &9 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12042, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: [] |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 938 |
|
||||||
width: 1666 |
|
||||||
height: 20 |
|
||||||
m_MinSize: {x: 0, y: 0} |
|
||||||
m_MaxSize: {x: 0, y: 0} |
|
||||||
--- !u!114 &10 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: |
|
||||||
- {fileID: 12} |
|
||||||
- {fileID: 5} |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 973 |
|
||||||
height: 908 |
|
||||||
m_MinSize: {x: 202, y: 442} |
|
||||||
m_MaxSize: {x: 4002, y: 8042} |
|
||||||
vertical: 1 |
|
||||||
controlID: 75 |
|
||||||
--- !u!114 &11 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: [] |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 1263 |
|
||||||
y: 0 |
|
||||||
width: 403 |
|
||||||
height: 908 |
|
||||||
m_MinSize: {x: 277, y: 71} |
|
||||||
m_MaxSize: {x: 4002, y: 4021} |
|
||||||
m_ActualView: {fileID: 13} |
|
||||||
m_Panes: |
|
||||||
- {fileID: 13} |
|
||||||
m_Selected: 0 |
|
||||||
m_LastSelected: 0 |
|
||||||
--- !u!114 &12 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Children: [] |
|
||||||
m_Position: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 973 |
|
||||||
height: 466 |
|
||||||
m_MinSize: {x: 202, y: 221} |
|
||||||
m_MaxSize: {x: 4002, y: 4021} |
|
||||||
m_ActualView: {fileID: 16} |
|
||||||
m_Panes: |
|
||||||
- {fileID: 16} |
|
||||||
m_Selected: 0 |
|
||||||
m_LastSelected: 0 |
|
||||||
--- !u!114 &13 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_AutoRepaintOnSceneChange: 0 |
|
||||||
m_MinSize: {x: 275, y: 50} |
|
||||||
m_MaxSize: {x: 4000, y: 4000} |
|
||||||
m_TitleContent: |
|
||||||
m_Text: Inspector |
|
||||||
m_Image: {fileID: -6905738622615590433, guid: 0000000000000000d000000000000000, |
|
||||||
type: 0} |
|
||||||
m_Tooltip: |
|
||||||
m_DepthBufferBits: 0 |
|
||||||
m_Pos: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 2 |
|
||||||
y: 19 |
|
||||||
width: 401 |
|
||||||
height: 887 |
|
||||||
m_ScrollPosition: {x: 0, y: 0} |
|
||||||
m_InspectorMode: 0 |
|
||||||
m_PreviewResizer: |
|
||||||
m_CachedPref: -160 |
|
||||||
m_ControlHash: -371814159 |
|
||||||
m_PrefName: Preview_InspectorPreview |
|
||||||
m_PreviewWindow: {fileID: 0} |
|
||||||
--- !u!114 &14 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_AutoRepaintOnSceneChange: 0 |
|
||||||
m_MinSize: {x: 230, y: 250} |
|
||||||
m_MaxSize: {x: 10000, y: 10000} |
|
||||||
m_TitleContent: |
|
||||||
m_Text: Project |
|
||||||
m_Image: {fileID: -7501376956915960154, guid: 0000000000000000d000000000000000, |
|
||||||
type: 0} |
|
||||||
m_Tooltip: |
|
||||||
m_DepthBufferBits: 0 |
|
||||||
m_Pos: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 2 |
|
||||||
y: 19 |
|
||||||
width: 286 |
|
||||||
height: 421 |
|
||||||
m_SearchFilter: |
|
||||||
m_NameFilter: |
|
||||||
m_ClassNames: [] |
|
||||||
m_AssetLabels: [] |
|
||||||
m_AssetBundleNames: [] |
|
||||||
m_VersionControlStates: [] |
|
||||||
m_ReferencingInstanceIDs: |
|
||||||
m_ScenePaths: [] |
|
||||||
m_ShowAllHits: 0 |
|
||||||
m_SearchArea: 0 |
|
||||||
m_Folders: |
|
||||||
- Assets |
|
||||||
m_ViewMode: 0 |
|
||||||
m_StartGridSize: 64 |
|
||||||
m_LastFolders: |
|
||||||
- Assets |
|
||||||
m_LastFoldersGridSize: -1 |
|
||||||
m_LastProjectPath: /Users/danielbrauer/Unity Projects/New Unity Project 47 |
|
||||||
m_IsLocked: 0 |
|
||||||
m_FolderTreeState: |
|
||||||
scrollPos: {x: 0, y: 0} |
|
||||||
m_SelectedIDs: ee240000 |
|
||||||
m_LastClickedID: 9454 |
|
||||||
m_ExpandedIDs: ee24000000ca9a3bffffff7f |
|
||||||
m_RenameOverlay: |
|
||||||
m_UserAcceptedRename: 0 |
|
||||||
m_Name: |
|
||||||
m_OriginalName: |
|
||||||
m_EditFieldRect: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 0 |
|
||||||
height: 0 |
|
||||||
m_UserData: 0 |
|
||||||
m_IsWaitingForDelay: 0 |
|
||||||
m_IsRenaming: 0 |
|
||||||
m_OriginalEventType: 11 |
|
||||||
m_IsRenamingFilename: 1 |
|
||||||
m_ClientGUIView: {fileID: 0} |
|
||||||
m_SearchString: |
|
||||||
m_CreateAssetUtility: |
|
||||||
m_EndAction: {fileID: 0} |
|
||||||
m_InstanceID: 0 |
|
||||||
m_Path: |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_ResourceFile: |
|
||||||
m_AssetTreeState: |
|
||||||
scrollPos: {x: 0, y: 0} |
|
||||||
m_SelectedIDs: 68fbffff |
|
||||||
m_LastClickedID: 0 |
|
||||||
m_ExpandedIDs: ee240000 |
|
||||||
m_RenameOverlay: |
|
||||||
m_UserAcceptedRename: 0 |
|
||||||
m_Name: |
|
||||||
m_OriginalName: |
|
||||||
m_EditFieldRect: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 0 |
|
||||||
height: 0 |
|
||||||
m_UserData: 0 |
|
||||||
m_IsWaitingForDelay: 0 |
|
||||||
m_IsRenaming: 0 |
|
||||||
m_OriginalEventType: 11 |
|
||||||
m_IsRenamingFilename: 1 |
|
||||||
m_ClientGUIView: {fileID: 0} |
|
||||||
m_SearchString: |
|
||||||
m_CreateAssetUtility: |
|
||||||
m_EndAction: {fileID: 0} |
|
||||||
m_InstanceID: 0 |
|
||||||
m_Path: |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_ResourceFile: |
|
||||||
m_ListAreaState: |
|
||||||
m_SelectedInstanceIDs: 68fbffff |
|
||||||
m_LastClickedInstanceID: -1176 |
|
||||||
m_HadKeyboardFocusLastEvent: 0 |
|
||||||
m_ExpandedInstanceIDs: c6230000 |
|
||||||
m_RenameOverlay: |
|
||||||
m_UserAcceptedRename: 0 |
|
||||||
m_Name: |
|
||||||
m_OriginalName: |
|
||||||
m_EditFieldRect: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 0 |
|
||||||
height: 0 |
|
||||||
m_UserData: 0 |
|
||||||
m_IsWaitingForDelay: 0 |
|
||||||
m_IsRenaming: 0 |
|
||||||
m_OriginalEventType: 11 |
|
||||||
m_IsRenamingFilename: 1 |
|
||||||
m_ClientGUIView: {fileID: 0} |
|
||||||
m_CreateAssetUtility: |
|
||||||
m_EndAction: {fileID: 0} |
|
||||||
m_InstanceID: 0 |
|
||||||
m_Path: |
|
||||||
m_Icon: {fileID: 0} |
|
||||||
m_ResourceFile: |
|
||||||
m_NewAssetIndexInList: -1 |
|
||||||
m_ScrollPosition: {x: 0, y: 0} |
|
||||||
m_GridSize: 64 |
|
||||||
m_DirectoriesAreaWidth: 110 |
|
||||||
--- !u!114 &15 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_AutoRepaintOnSceneChange: 1 |
|
||||||
m_MinSize: {x: 200, y: 200} |
|
||||||
m_MaxSize: {x: 4000, y: 4000} |
|
||||||
m_TitleContent: |
|
||||||
m_Text: Game |
|
||||||
m_Image: {fileID: -2087823869225018852, guid: 0000000000000000d000000000000000, |
|
||||||
type: 0} |
|
||||||
m_Tooltip: |
|
||||||
m_DepthBufferBits: 32 |
|
||||||
m_Pos: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 19 |
|
||||||
width: 971 |
|
||||||
height: 421 |
|
||||||
m_MaximizeOnPlay: 0 |
|
||||||
m_Gizmos: 0 |
|
||||||
m_Stats: 0 |
|
||||||
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000 |
|
||||||
m_TargetDisplay: 0 |
|
||||||
m_ZoomArea: |
|
||||||
m_HRangeLocked: 0 |
|
||||||
m_VRangeLocked: 0 |
|
||||||
m_HBaseRangeMin: -242.75 |
|
||||||
m_HBaseRangeMax: 242.75 |
|
||||||
m_VBaseRangeMin: -101 |
|
||||||
m_VBaseRangeMax: 101 |
|
||||||
m_HAllowExceedBaseRangeMin: 1 |
|
||||||
m_HAllowExceedBaseRangeMax: 1 |
|
||||||
m_VAllowExceedBaseRangeMin: 1 |
|
||||||
m_VAllowExceedBaseRangeMax: 1 |
|
||||||
m_ScaleWithWindow: 0 |
|
||||||
m_HSlider: 0 |
|
||||||
m_VSlider: 0 |
|
||||||
m_IgnoreScrollWheelUntilClicked: 0 |
|
||||||
m_EnableMouseInput: 1 |
|
||||||
m_EnableSliderZoom: 0 |
|
||||||
m_UniformScale: 1 |
|
||||||
m_UpDirection: 1 |
|
||||||
m_DrawArea: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 17 |
|
||||||
width: 971 |
|
||||||
height: 404 |
|
||||||
m_Scale: {x: 2, y: 2} |
|
||||||
m_Translation: {x: 485.5, y: 202} |
|
||||||
m_MarginLeft: 0 |
|
||||||
m_MarginRight: 0 |
|
||||||
m_MarginTop: 0 |
|
||||||
m_MarginBottom: 0 |
|
||||||
m_LastShownAreaInsideMargins: |
|
||||||
serializedVersion: 2 |
|
||||||
x: -242.75 |
|
||||||
y: -101 |
|
||||||
width: 485.5 |
|
||||||
height: 202 |
|
||||||
m_MinimalGUI: 1 |
|
||||||
m_defaultScale: 2 |
|
||||||
m_TargetTexture: {fileID: 0} |
|
||||||
m_CurrentColorSpace: 0 |
|
||||||
m_LastWindowPixelSize: {x: 1942, y: 842} |
|
||||||
m_ClearInEditMode: 1 |
|
||||||
m_NoCameraWarning: 1 |
|
||||||
m_LowResolutionForAspectRatios: 01000000000100000100 |
|
||||||
--- !u!114 &16 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12013, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_AutoRepaintOnSceneChange: 1 |
|
||||||
m_MinSize: {x: 200, y: 200} |
|
||||||
m_MaxSize: {x: 4000, y: 4000} |
|
||||||
m_TitleContent: |
|
||||||
m_Text: Scene |
|
||||||
m_Image: {fileID: 2318424515335265636, guid: 0000000000000000d000000000000000, |
|
||||||
type: 0} |
|
||||||
m_Tooltip: |
|
||||||
m_DepthBufferBits: 32 |
|
||||||
m_Pos: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 19 |
|
||||||
width: 971 |
|
||||||
height: 445 |
|
||||||
m_SceneLighting: 1 |
|
||||||
lastFramingTime: 0 |
|
||||||
m_2DMode: 0 |
|
||||||
m_isRotationLocked: 0 |
|
||||||
m_AudioPlay: 0 |
|
||||||
m_Position: |
|
||||||
m_Target: {x: 0, y: 0, z: 0} |
|
||||||
speed: 2 |
|
||||||
m_Value: {x: 0, y: 0, z: 0} |
|
||||||
m_RenderMode: 0 |
|
||||||
m_ValidateTrueMetals: 0 |
|
||||||
m_SceneViewState: |
|
||||||
showFog: 1 |
|
||||||
showMaterialUpdate: 0 |
|
||||||
showSkybox: 1 |
|
||||||
showFlares: 1 |
|
||||||
showImageEffects: 1 |
|
||||||
grid: |
|
||||||
xGrid: |
|
||||||
m_Target: 0 |
|
||||||
speed: 2 |
|
||||||
m_Value: 0 |
|
||||||
yGrid: |
|
||||||
m_Target: 1 |
|
||||||
speed: 2 |
|
||||||
m_Value: 1 |
|
||||||
zGrid: |
|
||||||
m_Target: 0 |
|
||||||
speed: 2 |
|
||||||
m_Value: 0 |
|
||||||
m_Rotation: |
|
||||||
m_Target: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226} |
|
||||||
speed: 2 |
|
||||||
m_Value: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226} |
|
||||||
m_Size: |
|
||||||
m_Target: 10 |
|
||||||
speed: 2 |
|
||||||
m_Value: 10 |
|
||||||
m_Ortho: |
|
||||||
m_Target: 0 |
|
||||||
speed: 2 |
|
||||||
m_Value: 0 |
|
||||||
m_LastSceneViewRotation: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
m_LastSceneViewOrtho: 0 |
|
||||||
m_ReplacementShader: {fileID: 0} |
|
||||||
m_ReplacementString: |
|
||||||
m_LastLockedObject: {fileID: 0} |
|
||||||
m_ViewIsLockedToObject: 0 |
|
||||||
--- !u!114 &17 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 52 |
|
||||||
m_PrefabParentObject: {fileID: 0} |
|
||||||
m_PrefabInternal: {fileID: 0} |
|
||||||
m_GameObject: {fileID: 0} |
|
||||||
m_Enabled: 1 |
|
||||||
m_EditorHideFlags: 1 |
|
||||||
m_Script: {fileID: 12061, guid: 0000000000000000e000000000000000, type: 0} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_AutoRepaintOnSceneChange: 0 |
|
||||||
m_MinSize: {x: 200, y: 200} |
|
||||||
m_MaxSize: {x: 4000, y: 4000} |
|
||||||
m_TitleContent: |
|
||||||
m_Text: Hierarchy |
|
||||||
m_Image: {fileID: -590624980919486359, guid: 0000000000000000d000000000000000, |
|
||||||
type: 0} |
|
||||||
m_Tooltip: |
|
||||||
m_DepthBufferBits: 0 |
|
||||||
m_Pos: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 2 |
|
||||||
y: 19 |
|
||||||
width: 286 |
|
||||||
height: 445 |
|
||||||
m_TreeViewState: |
|
||||||
scrollPos: {x: 0, y: 0} |
|
||||||
m_SelectedIDs: 68fbffff |
|
||||||
m_LastClickedID: -1176 |
|
||||||
m_ExpandedIDs: 7efbffff00000000 |
|
||||||
m_RenameOverlay: |
|
||||||
m_UserAcceptedRename: 0 |
|
||||||
m_Name: |
|
||||||
m_OriginalName: |
|
||||||
m_EditFieldRect: |
|
||||||
serializedVersion: 2 |
|
||||||
x: 0 |
|
||||||
y: 0 |
|
||||||
width: 0 |
|
||||||
height: 0 |
|
||||||
m_UserData: 0 |
|
||||||
m_IsWaitingForDelay: 0 |
|
||||||
m_IsRenaming: 0 |
|
||||||
m_OriginalEventType: 11 |
|
||||||
m_IsRenamingFilename: 0 |
|
||||||
m_ClientGUIView: {fileID: 0} |
|
||||||
m_SearchString: |
|
||||||
m_ExpandedScenes: |
|
||||||
- |
|
||||||
m_CurrenRootInstanceID: 0 |
|
||||||
m_Locked: 0 |
|
||||||
m_CurrentSortingName: TransformSorting |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: eabc9546105bf4accac1fd62a63e88e6 |
|
||||||
timeCreated: 1487337779 |
|
||||||
licenseType: Store |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 5a9bcd70e6a4b4b05badaa72e827d8e0 |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1475835190 |
|
||||||
licenseType: Store |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 3ad9b87dffba344c89909c6d1b1c17e1 |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1475593892 |
|
||||||
licenseType: Store |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,242 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
using UnityEditor; |
|
||||||
using System; |
|
||||||
using System.IO; |
|
||||||
using System.Reflection; |
|
||||||
|
|
||||||
[CustomEditor(typeof(Readme))] |
|
||||||
[InitializeOnLoad] |
|
||||||
public class ReadmeEditor : Editor |
|
||||||
{ |
|
||||||
static string s_ShowedReadmeSessionStateName = "ReadmeEditor.showedReadme"; |
|
||||||
|
|
||||||
static string s_ReadmeSourceDirectory = "Assets/TutorialInfo"; |
|
||||||
|
|
||||||
const float k_Space = 16f; |
|
||||||
|
|
||||||
static ReadmeEditor() |
|
||||||
{ |
|
||||||
EditorApplication.delayCall += SelectReadmeAutomatically; |
|
||||||
} |
|
||||||
|
|
||||||
static void RemoveTutorial() |
|
||||||
{ |
|
||||||
if (EditorUtility.DisplayDialog("Remove Readme Assets", |
|
||||||
|
|
||||||
$"All contents under {s_ReadmeSourceDirectory} will be removed, are you sure you want to proceed?", |
|
||||||
"Proceed", |
|
||||||
"Cancel")) |
|
||||||
{ |
|
||||||
if (Directory.Exists(s_ReadmeSourceDirectory)) |
|
||||||
{ |
|
||||||
FileUtil.DeleteFileOrDirectory(s_ReadmeSourceDirectory); |
|
||||||
FileUtil.DeleteFileOrDirectory(s_ReadmeSourceDirectory + ".meta"); |
|
||||||
} |
|
||||||
else |
|
||||||
{ |
|
||||||
Debug.Log($"Could not find the Readme folder at {s_ReadmeSourceDirectory}"); |
|
||||||
} |
|
||||||
|
|
||||||
var readmeAsset = SelectReadme(); |
|
||||||
if (readmeAsset != null) |
|
||||||
{ |
|
||||||
var path = AssetDatabase.GetAssetPath(readmeAsset); |
|
||||||
FileUtil.DeleteFileOrDirectory(path + ".meta"); |
|
||||||
FileUtil.DeleteFileOrDirectory(path); |
|
||||||
} |
|
||||||
|
|
||||||
AssetDatabase.Refresh(); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
static void SelectReadmeAutomatically() |
|
||||||
{ |
|
||||||
if (!SessionState.GetBool(s_ShowedReadmeSessionStateName, false)) |
|
||||||
{ |
|
||||||
var readme = SelectReadme(); |
|
||||||
SessionState.SetBool(s_ShowedReadmeSessionStateName, true); |
|
||||||
|
|
||||||
if (readme && !readme.loadedLayout) |
|
||||||
{ |
|
||||||
LoadLayout(); |
|
||||||
readme.loadedLayout = true; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
static void LoadLayout() |
|
||||||
{ |
|
||||||
var assembly = typeof(EditorApplication).Assembly; |
|
||||||
var windowLayoutType = assembly.GetType("UnityEditor.WindowLayout", true); |
|
||||||
var method = windowLayoutType.GetMethod("LoadWindowLayout", BindingFlags.Public | BindingFlags.Static); |
|
||||||
method.Invoke(null, new object[] { Path.Combine(Application.dataPath, "TutorialInfo/Layout.wlt"), false }); |
|
||||||
} |
|
||||||
|
|
||||||
static Readme SelectReadme() |
|
||||||
{ |
|
||||||
var ids = AssetDatabase.FindAssets("Readme t:Readme"); |
|
||||||
if (ids.Length == 1) |
|
||||||
{ |
|
||||||
var readmeObject = AssetDatabase.LoadMainAssetAtPath(AssetDatabase.GUIDToAssetPath(ids[0])); |
|
||||||
|
|
||||||
Selection.objects = new UnityEngine.Object[] { readmeObject }; |
|
||||||
|
|
||||||
return (Readme)readmeObject; |
|
||||||
} |
|
||||||
else |
|
||||||
{ |
|
||||||
Debug.Log("Couldn't find a readme"); |
|
||||||
return null; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
protected override void OnHeaderGUI() |
|
||||||
{ |
|
||||||
var readme = (Readme)target; |
|
||||||
Init(); |
|
||||||
|
|
||||||
var iconWidth = Mathf.Min(EditorGUIUtility.currentViewWidth / 3f - 20f, 128f); |
|
||||||
|
|
||||||
GUILayout.BeginHorizontal("In BigTitle"); |
|
||||||
{ |
|
||||||
if (readme.icon != null) |
|
||||||
{ |
|
||||||
GUILayout.Space(k_Space); |
|
||||||
GUILayout.Label(readme.icon, GUILayout.Width(iconWidth), GUILayout.Height(iconWidth)); |
|
||||||
} |
|
||||||
GUILayout.Space(k_Space); |
|
||||||
GUILayout.BeginVertical(); |
|
||||||
{ |
|
||||||
|
|
||||||
GUILayout.FlexibleSpace(); |
|
||||||
GUILayout.Label(readme.title, TitleStyle); |
|
||||||
GUILayout.FlexibleSpace(); |
|
||||||
} |
|
||||||
GUILayout.EndVertical(); |
|
||||||
GUILayout.FlexibleSpace(); |
|
||||||
} |
|
||||||
GUILayout.EndHorizontal(); |
|
||||||
} |
|
||||||
|
|
||||||
public override void OnInspectorGUI() |
|
||||||
{ |
|
||||||
var readme = (Readme)target; |
|
||||||
Init(); |
|
||||||
|
|
||||||
foreach (var section in readme.sections) |
|
||||||
{ |
|
||||||
if (!string.IsNullOrEmpty(section.heading)) |
|
||||||
{ |
|
||||||
GUILayout.Label(section.heading, HeadingStyle); |
|
||||||
} |
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(section.text)) |
|
||||||
{ |
|
||||||
GUILayout.Label(section.text, BodyStyle); |
|
||||||
} |
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(section.linkText)) |
|
||||||
{ |
|
||||||
if (LinkLabel(new GUIContent(section.linkText))) |
|
||||||
{ |
|
||||||
Application.OpenURL(section.url); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
GUILayout.Space(k_Space); |
|
||||||
} |
|
||||||
|
|
||||||
if (GUILayout.Button("Remove Readme Assets", ButtonStyle)) |
|
||||||
{ |
|
||||||
RemoveTutorial(); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
bool m_Initialized; |
|
||||||
|
|
||||||
GUIStyle LinkStyle |
|
||||||
{ |
|
||||||
get { return m_LinkStyle; } |
|
||||||
} |
|
||||||
|
|
||||||
[SerializeField] |
|
||||||
GUIStyle m_LinkStyle; |
|
||||||
|
|
||||||
GUIStyle TitleStyle |
|
||||||
{ |
|
||||||
get { return m_TitleStyle; } |
|
||||||
} |
|
||||||
|
|
||||||
[SerializeField] |
|
||||||
GUIStyle m_TitleStyle; |
|
||||||
|
|
||||||
GUIStyle HeadingStyle |
|
||||||
{ |
|
||||||
get { return m_HeadingStyle; } |
|
||||||
} |
|
||||||
|
|
||||||
[SerializeField] |
|
||||||
GUIStyle m_HeadingStyle; |
|
||||||
|
|
||||||
GUIStyle BodyStyle |
|
||||||
{ |
|
||||||
get { return m_BodyStyle; } |
|
||||||
} |
|
||||||
|
|
||||||
[SerializeField] |
|
||||||
GUIStyle m_BodyStyle; |
|
||||||
|
|
||||||
GUIStyle ButtonStyle |
|
||||||
{ |
|
||||||
get { return m_ButtonStyle; } |
|
||||||
} |
|
||||||
|
|
||||||
[SerializeField] |
|
||||||
GUIStyle m_ButtonStyle; |
|
||||||
|
|
||||||
void Init() |
|
||||||
{ |
|
||||||
if (m_Initialized) |
|
||||||
return; |
|
||||||
m_BodyStyle = new GUIStyle(EditorStyles.label); |
|
||||||
m_BodyStyle.wordWrap = true; |
|
||||||
m_BodyStyle.fontSize = 14; |
|
||||||
m_BodyStyle.richText = true; |
|
||||||
|
|
||||||
m_TitleStyle = new GUIStyle(m_BodyStyle); |
|
||||||
m_TitleStyle.fontSize = 26; |
|
||||||
|
|
||||||
m_HeadingStyle = new GUIStyle(m_BodyStyle); |
|
||||||
m_HeadingStyle.fontStyle = FontStyle.Bold; |
|
||||||
m_HeadingStyle.fontSize = 18; |
|
||||||
|
|
||||||
m_LinkStyle = new GUIStyle(m_BodyStyle); |
|
||||||
m_LinkStyle.wordWrap = false; |
|
||||||
|
|
||||||
// Match selection color which works nicely for both light and dark skins |
|
||||||
m_LinkStyle.normal.textColor = new Color(0x00 / 255f, 0x78 / 255f, 0xDA / 255f, 1f); |
|
||||||
m_LinkStyle.stretchWidth = false; |
|
||||||
|
|
||||||
m_ButtonStyle = new GUIStyle(EditorStyles.miniButton); |
|
||||||
m_ButtonStyle.fontStyle = FontStyle.Bold; |
|
||||||
|
|
||||||
m_Initialized = true; |
|
||||||
} |
|
||||||
|
|
||||||
bool LinkLabel(GUIContent label, params GUILayoutOption[] options) |
|
||||||
{ |
|
||||||
var position = GUILayoutUtility.GetRect(label, LinkStyle, options); |
|
||||||
|
|
||||||
Handles.BeginGUI(); |
|
||||||
Handles.color = LinkStyle.normal.textColor; |
|
||||||
Handles.DrawLine(new Vector3(position.xMin, position.yMax), new Vector3(position.xMax, position.yMax)); |
|
||||||
Handles.color = Color.white; |
|
||||||
Handles.EndGUI(); |
|
||||||
|
|
||||||
EditorGUIUtility.AddCursorRect(position, MouseCursor.Link); |
|
||||||
|
|
||||||
return GUI.Button(position, label, LinkStyle); |
|
||||||
} |
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 476cc7d7cd9874016adc216baab94a0a |
|
||||||
timeCreated: 1484146680 |
|
||||||
licenseType: Store |
|
||||||
MonoImporter: |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,16 +0,0 @@ |
|||||||
using System; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
public class Readme : ScriptableObject |
|
||||||
{ |
|
||||||
public Texture2D icon; |
|
||||||
public string title; |
|
||||||
public Section[] sections; |
|
||||||
public bool loadedLayout; |
|
||||||
|
|
||||||
[Serializable] |
|
||||||
public class Section |
|
||||||
{ |
|
||||||
public string heading, text, linkText, url; |
|
||||||
} |
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: fcf7219bab7fe46a1ad266029b2fee19 |
|
||||||
MonoImporter: |
|
||||||
externalObjects: {} |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: |
|
||||||
- icon: {instanceID: 0} |
|
||||||
executionOrder: 0 |
|
||||||
icon: {fileID: 2800000, guid: a186f8a87ca4f4d3aa864638ad5dfb65, type: 3} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue