@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: f0e5c91442c7f054bb32cb3550606642 |
guid: 9848803ba5974ba4a8b479b2e64ad16a |
||||||
folderAsset: yes |
folderAsset: yes |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 94906fdd445a54f2badd67d0d36a3d55 |
guid: a688944dd20111445ba6563f5912b431 |
||||||
folderAsset: yes |
folderAsset: yes |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
@ -0,0 +1,46 @@ |
|||||||
|
using System.Collections; |
||||||
|
using System.Collections.Generic; |
||||||
|
using UnityEngine; |
||||||
|
using UnityEditor; |
||||||
|
using UnityEngine.AI; |
||||||
|
using System.IO; |
||||||
|
using System.Text; |
||||||
|
using System; |
||||||
|
|
||||||
|
public class SceneTool |
||||||
|
{ |
||||||
|
[MenuItem("SceneTool/RemoveColider")]//移除碰撞器 |
||||||
|
public static void RemoveColider() |
||||||
|
{ |
||||||
|
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); |
||||||
|
{ |
||||||
|
for (int i = 0; i < obj.Length; i++) |
||||||
|
{ |
||||||
|
if (obj[i].GetComponent<MeshRenderer>()) |
||||||
|
{ |
||||||
|
if (obj[i].GetComponent<MeshCollider>()) |
||||||
|
{ |
||||||
|
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<MeshCollider>(), true); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
[MenuItem("SceneTool/AddColider")]//移除碰撞器 |
||||||
|
public static void AddColider() |
||||||
|
{ |
||||||
|
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); |
||||||
|
{ |
||||||
|
for (int i = 0; i < obj.Length; i++) |
||||||
|
{ |
||||||
|
if (obj[i].GetComponent<MeshRenderer>()) |
||||||
|
{ |
||||||
|
if (!obj[i].GetComponent<MeshCollider>()) |
||||||
|
{ |
||||||
|
obj[i].gameObject.AddComponent<MeshCollider>(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: b2533fb71c5d747c58192bcd7d6cd276 |
guid: 897c231eaac7aa04686627c31697e0ad |
||||||
MonoImporter: |
MonoImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
serializedVersion: 2 |
serializedVersion: 2 |
@ -0,0 +1,277 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &896769984217170133 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 6337891077912097589} |
||||||
|
- component: {fileID: 1720141601755281514} |
||||||
|
- component: {fileID: 4452540096815418871} |
||||||
|
- component: {fileID: 5526216136199687263} |
||||||
|
- component: {fileID: 2258639466755692745} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Cube (1) |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &6337891077912097589 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 896769984217170133} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||||
|
m_LocalPosition: {x: 898, y: 6.82, z: 333} |
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 2696241796713217993} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!33 &1720141601755281514 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 896769984217170133} |
||||||
|
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &4452540096815418871 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 896769984217170133} |
||||||
|
m_Enabled: 0 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!65 &5526216136199687263 |
||||||
|
BoxCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 896769984217170133} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 3 |
||||||
|
m_Size: {x: 1, y: 1, z: 1} |
||||||
|
m_Center: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &2258639466755692745 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 896769984217170133} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 49a6ba4f46ec21b4c8a83dce618eda97, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!1 &5168340772903189309 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 2696241796713217993} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Evacuate |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &2696241796713217993 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5168340772903189309} |
||||||
|
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: |
||||||
|
- {fileID: 4123612572642245520} |
||||||
|
- {fileID: 6337891077912097589} |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!1 &8323091588740760813 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 4123612572642245520} |
||||||
|
- component: {fileID: 589723893595831045} |
||||||
|
- component: {fileID: 5772352129687327301} |
||||||
|
- component: {fileID: 3517950802735009361} |
||||||
|
- component: {fileID: 3627918732802503017} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Cube |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &4123612572642245520 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8323091588740760813} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||||
|
m_LocalPosition: {x: -106, y: 6.82, z: 193.2} |
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 2696241796713217993} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!33 &589723893595831045 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8323091588740760813} |
||||||
|
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &5772352129687327301 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8323091588740760813} |
||||||
|
m_Enabled: 0 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!65 &3517950802735009361 |
||||||
|
BoxCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8323091588740760813} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 3 |
||||||
|
m_Size: {x: 1, y: 1, z: 1} |
||||||
|
m_Center: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &3627918732802503017 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8323091588740760813} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 49a6ba4f46ec21b4c8a83dce618eda97, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
@ -1,6 +1,6 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 05f4a9095f69c4ec6bc8fb97dcdbacfb |
guid: 88d1e063c630d5d44a12f04212dc6657 |
||||||
DefaultImporter: |
PrefabImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
||||||
assetBundleName: |
assetBundleName: |
@ -0,0 +1,51 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &731237062512103782 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 8477702376625612941} |
||||||
|
- component: {fileID: 3116549520470997033} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: GetAreaTargetManager |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &8477702376625612941 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 731237062512103782} |
||||||
|
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!114 &3116549520470997033 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 731237062512103782} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: e01c388cf4175aa49b4973deb437d754, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
cameraInitPos: {x: 201.5, y: 0, z: 113} |
||||||
|
initDis: 245 |
||||||
|
init_X: 84 |
||||||
|
init_Y: 15 |
||||||
|
children: [] |
@ -1,6 +1,6 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: eb334622a9e1f41368317711b187e4c2 |
guid: 496082be2b9564a4a93135793745693a |
||||||
DefaultImporter: |
PrefabImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
||||||
assetBundleName: |
assetBundleName: |
@ -0,0 +1,33 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &3401531879803470976 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 850900686908438929} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: Links |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &850900686908438929 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 3401531879803470976} |
||||||
|
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} |
@ -1,6 +1,6 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: a9ed051e57e7249a89531758bd685c7f |
guid: 75c68418f3ce67c449050d842cc54ab5 |
||||||
DefaultImporter: |
PrefabImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
||||||
assetBundleName: |
assetBundleName: |
@ -0,0 +1,66 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &7461739678491633859 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 1370801483617881545} |
||||||
|
- component: {fileID: 5547152307193290894} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: NavmeshCar |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &1370801483617881545 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7461739678491633859} |
||||||
|
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!114 &5547152307193290894 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7461739678491633859} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
m_SerializedVersion: 0 |
||||||
|
m_AgentTypeID: -1372625422 |
||||||
|
m_CollectObjects: 0 |
||||||
|
m_Size: {x: 10, y: 10, z: 10} |
||||||
|
m_Center: {x: 0, y: 2, z: 0} |
||||||
|
m_LayerMask: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 32768 |
||||||
|
m_UseGeometry: 0 |
||||||
|
m_DefaultArea: 0 |
||||||
|
m_GenerateLinks: 0 |
||||||
|
m_IgnoreNavMeshAgent: 1 |
||||||
|
m_IgnoreNavMeshObstacle: 1 |
||||||
|
m_OverrideTileSize: 0 |
||||||
|
m_TileSize: 256 |
||||||
|
m_OverrideVoxelSize: 0 |
||||||
|
m_VoxelSize: 0.1 |
||||||
|
m_MinRegionArea: 2 |
||||||
|
m_NavMeshData: {fileID: 23800000, guid: e670c20a5fe284c4bb5d7e75e949cd41, type: 2} |
||||||
|
m_BuildHeightMesh: 0 |
@ -1,6 +1,6 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: 6e3af944b32d74aaa9bd0bb1850bed61 |
guid: a5da16ac1d8f78f4cbdbb46d130a5c26 |
||||||
DefaultImporter: |
PrefabImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
||||||
userData: |
userData: |
||||||
assetBundleName: |
assetBundleName: |
@ -0,0 +1,66 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &5643291867426731239 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 8982594079755017266} |
||||||
|
- component: {fileID: 235363646311584894} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: NavmeshMan |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &8982594079755017266 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5643291867426731239} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: 0, y: -0.11511059, z: 0, w: 0.9933527} |
||||||
|
m_LocalPosition: {x: 355, y: 57, z: 153} |
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -13.22, z: 0} |
||||||
|
--- !u!114 &235363646311584894 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5643291867426731239} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
m_SerializedVersion: 0 |
||||||
|
m_AgentTypeID: 0 |
||||||
|
m_CollectObjects: 1 |
||||||
|
m_Size: {x: 2000, y: 200, z: 2000} |
||||||
|
m_Center: {x: 0, y: 2, z: 0} |
||||||
|
m_LayerMask: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 98304 |
||||||
|
m_UseGeometry: 0 |
||||||
|
m_DefaultArea: 0 |
||||||
|
m_GenerateLinks: 0 |
||||||
|
m_IgnoreNavMeshAgent: 1 |
||||||
|
m_IgnoreNavMeshObstacle: 1 |
||||||
|
m_OverrideTileSize: 0 |
||||||
|
m_TileSize: 256 |
||||||
|
m_OverrideVoxelSize: 0 |
||||||
|
m_VoxelSize: 0.05 |
||||||
|
m_MinRegionArea: 2 |
||||||
|
m_NavMeshData: {fileID: 23800000, guid: 280039dec57282a469a857cc38331bf3, type: 2} |
||||||
|
m_BuildHeightMesh: 0 |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 49d06eb2e3565ff418faf863e04ca4fe |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,82 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &7405839689150574781 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 162101736955425362} |
||||||
|
- component: {fileID: 1169397458549512360} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: TankAreaName |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 0 |
||||||
|
--- !u!4 &162101736955425362 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7405839689150574781} |
||||||
|
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: 7345107486260537908} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &1169397458549512360 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7405839689150574781} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: c6c3bcee76738264da0b700ac7402719, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
TargetPos: {x: 201.5, y: 0, z: 113} |
||||||
|
CameraX: 84 |
||||||
|
CameraY: 15 |
||||||
|
Distance: 245 |
||||||
|
--- !u!1 &7806473562047182751 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 7345107486260537908} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: TankArea |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &7345107486260537908 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7806473562047182751} |
||||||
|
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: |
||||||
|
- {fileID: 162101736955425362} |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: c5215d0cea2e3bb4a8acff619c2357ec |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,46 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &300280883153316224 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 6215371517261562544} |
||||||
|
- component: {fileID: 4319722211810176801} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: TeamTargetParent |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &6215371517261562544 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 300280883153316224} |
||||||
|
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!114 &4319722211810176801 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 300280883153316224} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: c03a1a14af66ddc4b9f0f18b89b0d053, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: faa0cb7d896a18640a670e57198de884 |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,185 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &1448480874978764806 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 2036843565592825570} |
||||||
|
- component: {fileID: 4192392774204234242} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: ShiWaiLouDing |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &2036843565592825570 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1448480874978764806} |
||||||
|
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_Children: [] |
||||||
|
m_Father: {fileID: 1375686834103553258} |
||||||
|
m_RootOrder: 2 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &4192392774204234242 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1448480874978764806} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d10000002c0100005f01000060010000610100006401000067010000680100006a0100006b01000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f02000030020000640200006502000066020000670200006802000069020000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &3862791060661072280 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 5957534287860957307} |
||||||
|
- component: {fileID: 2554234015808576151} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: ShiNeiFloor |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &5957534287860957307 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 3862791060661072280} |
||||||
|
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_Children: [] |
||||||
|
m_Father: {fileID: 1375686834103553258} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &2554234015808576151 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 3862791060661072280} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d10000002c0100005f01000060010000610100006401000067010000680100006a0100006b01000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f02000030020000640200006502000066020000670200006802000069020000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &5062027077239370685 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 1375686834103553258} |
||||||
|
- component: {fileID: 3247774623453244617} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: TheCarRoad |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &1375686834103553258 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5062027077239370685} |
||||||
|
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_Children: |
||||||
|
- {fileID: 5957534287860957307} |
||||||
|
- {fileID: 5214412471344223968} |
||||||
|
- {fileID: 2036843565592825570} |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &3247774623453244617 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5062027077239370685} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &5776162328859091251 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 5214412471344223968} |
||||||
|
- component: {fileID: 8791578464750648927} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: ShiWaiSolider |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &5214412471344223968 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5776162328859091251} |
||||||
|
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_Children: [] |
||||||
|
m_Father: {fileID: 1375686834103553258} |
||||||
|
m_RootOrder: 1 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &8791578464750648927 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5776162328859091251} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d10000002c0100002d0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f010000700100009001000071010000d2000000260200002702000028020000290200002a0200002c0200002d0200002e0200002f020000640200006502000066020000670200006802000069020000300200002b020000cd000000 |
||||||
|
isHandleCloneHitPoint: 0 |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: b6368959a808e804c9e4a1afe87a6abd |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,999 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &33620023399671711 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 8577704071413294231} |
||||||
|
- component: {fileID: 4523781872266216701} |
||||||
|
- component: {fileID: 3992704736185582571} |
||||||
|
- component: {fileID: 2739691049835875887} |
||||||
|
- component: {fileID: 8876117798735894857} |
||||||
|
- component: {fileID: 3897529939534206863} |
||||||
|
m_Layer: 15 |
||||||
|
m_Name: Plane (3) |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &8577704071413294231 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 33620023399671711} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0.06374858, z: -0, w: 0.99796605} |
||||||
|
m_LocalPosition: {x: -3368, y: 6.86, z: -3170} |
||||||
|
m_LocalScale: {x: 2.5, y: 1, z: 100.000015} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 960375130505351849} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -7.31, z: 0} |
||||||
|
--- !u!33 &4523781872266216701 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 33620023399671711} |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &3992704736185582571 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 33620023399671711} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: ac8024663bd307346bef6144378bdf37, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!64 &2739691049835875887 |
||||||
|
MeshCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 33620023399671711} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 5 |
||||||
|
m_Convex: 0 |
||||||
|
m_CookingOptions: 30 |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!114 &8876117798735894857 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 33620023399671711} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &3897529939534206863 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 33620023399671711} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000ce000000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &927123684211035809 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 7731139392494034840} |
||||||
|
- component: {fileID: 895373235183166236} |
||||||
|
- component: {fileID: 1674011149560781605} |
||||||
|
- component: {fileID: 801011064659539437} |
||||||
|
- component: {fileID: 1082117963857203832} |
||||||
|
- component: {fileID: 7900826099628363838} |
||||||
|
m_Layer: 15 |
||||||
|
m_Name: Plane (2) |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &7731139392494034840 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 927123684211035809} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0.06374858, z: -0, w: 0.99796605} |
||||||
|
m_LocalPosition: {x: -3145, y: 6.86, z: -3075} |
||||||
|
m_LocalScale: {x: 60, y: 1, z: 3} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 960375130505351849} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -7.31, z: 0} |
||||||
|
--- !u!33 &895373235183166236 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 927123684211035809} |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &1674011149560781605 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 927123684211035809} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: ac8024663bd307346bef6144378bdf37, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!64 &801011064659539437 |
||||||
|
MeshCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 927123684211035809} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 5 |
||||||
|
m_Convex: 0 |
||||||
|
m_CookingOptions: 30 |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!114 &1082117963857203832 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 927123684211035809} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &7900826099628363838 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 927123684211035809} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000ce000000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &1349605108113276289 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 2322490006503172284} |
||||||
|
- component: {fileID: 6660778068749119653} |
||||||
|
- component: {fileID: 171148271574090570} |
||||||
|
- component: {fileID: 1830554108807782674} |
||||||
|
- component: {fileID: 7471195020965632293} |
||||||
|
- component: {fileID: 4246226064372334693} |
||||||
|
m_Layer: 15 |
||||||
|
m_Name: Plane (4) |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &2322490006503172284 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1349605108113276289} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0.06374858, z: -0, w: 0.99796605} |
||||||
|
m_LocalPosition: {x: -3009, y: 6.86, z: -3124} |
||||||
|
m_LocalScale: {x: 2.5, y: 1, z: 100.000015} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 960375130505351849} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -7.31, z: 0} |
||||||
|
--- !u!33 &6660778068749119653 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1349605108113276289} |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &171148271574090570 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1349605108113276289} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: ac8024663bd307346bef6144378bdf37, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!64 &1830554108807782674 |
||||||
|
MeshCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1349605108113276289} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 5 |
||||||
|
m_Convex: 0 |
||||||
|
m_CookingOptions: 30 |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!114 &7471195020965632293 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1349605108113276289} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &4246226064372334693 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1349605108113276289} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000ce000000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &2329644859724557609 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 4500208599677198301} |
||||||
|
- component: {fileID: 5964775158603564851} |
||||||
|
- component: {fileID: 5543603024254660579} |
||||||
|
- component: {fileID: 2831956096856682645} |
||||||
|
- component: {fileID: 7952475000295006783} |
||||||
|
- component: {fileID: 4272183451343038354} |
||||||
|
m_Layer: 15 |
||||||
|
m_Name: Plane |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &4500208599677198301 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2329644859724557609} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0.06374858, z: -0, w: 0.99796605} |
||||||
|
m_LocalPosition: {x: -3144.1, y: 6.86, z: -2896.4} |
||||||
|
m_LocalScale: {x: 90, y: 1, z: 3} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 960375130505351849} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -7.31, z: 0} |
||||||
|
--- !u!33 &5964775158603564851 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2329644859724557609} |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &5543603024254660579 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2329644859724557609} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: ac8024663bd307346bef6144378bdf37, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!64 &2831956096856682645 |
||||||
|
MeshCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2329644859724557609} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 5 |
||||||
|
m_Convex: 0 |
||||||
|
m_CookingOptions: 30 |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!114 &7952475000295006783 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2329644859724557609} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &4272183451343038354 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 2329644859724557609} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000ce000000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &4213773043220751383 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 960375130505351849} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: xunlu |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &960375130505351849 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 4213773043220751383} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} |
||||||
|
m_LocalPosition: {x: 3479, y: 0, z: 3134} |
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: |
||||||
|
- {fileID: 4500208599677198301} |
||||||
|
- {fileID: 5866824178997440009} |
||||||
|
- {fileID: 7731139392494034840} |
||||||
|
- {fileID: 8577704071413294231} |
||||||
|
- {fileID: 3382021506729782873} |
||||||
|
- {fileID: 7043994297382851386} |
||||||
|
- {fileID: 2322490006503172284} |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!1 &4657232998311579981 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 5866824178997440009} |
||||||
|
- component: {fileID: 196648889711072956} |
||||||
|
- component: {fileID: 1764124652463074278} |
||||||
|
- component: {fileID: 461575600727273238} |
||||||
|
- component: {fileID: 8475348456034251978} |
||||||
|
- component: {fileID: 939081544895691160} |
||||||
|
m_Layer: 15 |
||||||
|
m_Name: Plane (1) |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &5866824178997440009 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 4657232998311579981} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0.06374858, z: -0, w: 0.99796605} |
||||||
|
m_LocalPosition: {x: -3059, y: 6.86, z: -3401} |
||||||
|
m_LocalScale: {x: 90, y: 1, z: 2.5} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 960375130505351849} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -7.31, z: 0} |
||||||
|
--- !u!33 &196648889711072956 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 4657232998311579981} |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &1764124652463074278 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 4657232998311579981} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: ac8024663bd307346bef6144378bdf37, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!64 &461575600727273238 |
||||||
|
MeshCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 4657232998311579981} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 5 |
||||||
|
m_Convex: 0 |
||||||
|
m_CookingOptions: 30 |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!114 &8475348456034251978 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 4657232998311579981} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &939081544895691160 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 4657232998311579981} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000ce000000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &8229528223228056015 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 3382021506729782873} |
||||||
|
- component: {fileID: 1797202074575161915} |
||||||
|
- component: {fileID: 1786683791700871383} |
||||||
|
- component: {fileID: 2677065303760845368} |
||||||
|
- component: {fileID: 262450900170545383} |
||||||
|
- component: {fileID: 1176859343081050782} |
||||||
|
m_Layer: 15 |
||||||
|
m_Name: Plane (5) |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &3382021506729782873 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8229528223228056015} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0.06374858, z: -0, w: 0.99796605} |
||||||
|
m_LocalPosition: {x: -3363.8, y: 6.86, z: -3015.2} |
||||||
|
m_LocalScale: {x: 2.5, y: 1, z: 16} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 960375130505351849} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -7.31, z: 0} |
||||||
|
--- !u!33 &1797202074575161915 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8229528223228056015} |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &1786683791700871383 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8229528223228056015} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: ac8024663bd307346bef6144378bdf37, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!64 &2677065303760845368 |
||||||
|
MeshCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8229528223228056015} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 5 |
||||||
|
m_Convex: 0 |
||||||
|
m_CookingOptions: 30 |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!114 &262450900170545383 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8229528223228056015} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &1176859343081050782 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8229528223228056015} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000ce000000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &8519464956246553789 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 7043994297382851386} |
||||||
|
- component: {fileID: 591375882649150364} |
||||||
|
- component: {fileID: 970541768458757134} |
||||||
|
- component: {fileID: 818257127379423153} |
||||||
|
- component: {fileID: 7575082520627255765} |
||||||
|
- component: {fileID: 5840647792929306607} |
||||||
|
m_Layer: 15 |
||||||
|
m_Name: Plane (6) |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &7043994297382851386 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8519464956246553789} |
||||||
|
serializedVersion: 2 |
||||||
|
m_LocalRotation: {x: -0, y: -0.06374858, z: -0, w: 0.99796605} |
||||||
|
m_LocalPosition: {x: -3286.5, y: 6.86, z: -3003.5} |
||||||
|
m_LocalScale: {x: 2.5, y: 1, z: 16} |
||||||
|
m_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 960375130505351849} |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: -7.31, z: 0} |
||||||
|
--- !u!33 &591375882649150364 |
||||||
|
MeshFilter: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8519464956246553789} |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!23 &970541768458757134 |
||||||
|
MeshRenderer: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8519464956246553789} |
||||||
|
m_Enabled: 1 |
||||||
|
m_CastShadows: 1 |
||||||
|
m_ReceiveShadows: 1 |
||||||
|
m_DynamicOccludee: 1 |
||||||
|
m_StaticShadowCaster: 0 |
||||||
|
m_MotionVectors: 1 |
||||||
|
m_LightProbeUsage: 1 |
||||||
|
m_ReflectionProbeUsage: 1 |
||||||
|
m_RayTracingMode: 2 |
||||||
|
m_RayTraceProcedural: 0 |
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0 |
||||||
|
m_RayTracingAccelStructBuildFlags: 1 |
||||||
|
m_SmallMeshCulling: 1 |
||||||
|
m_RenderingLayerMask: 1 |
||||||
|
m_RendererPriority: 0 |
||||||
|
m_Materials: |
||||||
|
- {fileID: 2100000, guid: ac8024663bd307346bef6144378bdf37, type: 2} |
||||||
|
m_StaticBatchInfo: |
||||||
|
firstSubMesh: 0 |
||||||
|
subMeshCount: 0 |
||||||
|
m_StaticBatchRoot: {fileID: 0} |
||||||
|
m_ProbeAnchor: {fileID: 0} |
||||||
|
m_LightProbeVolumeOverride: {fileID: 0} |
||||||
|
m_ScaleInLightmap: 1 |
||||||
|
m_ReceiveGI: 1 |
||||||
|
m_PreserveUVs: 0 |
||||||
|
m_IgnoreNormalsForChartDetection: 0 |
||||||
|
m_ImportantGI: 0 |
||||||
|
m_StitchLightmapSeams: 0 |
||||||
|
m_SelectedEditorRenderState: 3 |
||||||
|
m_MinimumChartSize: 4 |
||||||
|
m_AutoUVMaxDistance: 0.5 |
||||||
|
m_AutoUVMaxAngle: 89 |
||||||
|
m_LightmapParameters: {fileID: 0} |
||||||
|
m_SortingLayerID: 0 |
||||||
|
m_SortingLayer: 0 |
||||||
|
m_SortingOrder: 0 |
||||||
|
m_AdditionalVertexStreams: {fileID: 0} |
||||||
|
--- !u!64 &818257127379423153 |
||||||
|
MeshCollider: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8519464956246553789} |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IncludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_ExcludeLayers: |
||||||
|
serializedVersion: 2 |
||||||
|
m_Bits: 0 |
||||||
|
m_LayerOverridePriority: 0 |
||||||
|
m_IsTrigger: 0 |
||||||
|
m_ProvidesContacts: 0 |
||||||
|
m_Enabled: 1 |
||||||
|
serializedVersion: 5 |
||||||
|
m_Convex: 0 |
||||||
|
m_CookingOptions: 30 |
||||||
|
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} |
||||||
|
--- !u!114 &7575082520627255765 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8519464956246553789} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &5840647792929306607 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 8519464956246553789} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000cd000000ce000000 |
||||||
|
isHandleCloneHitPoint: 0 |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 50c8cebdb3c6b7c4cbd018d35a0ff77a |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: b0c676f447c26429db5c9404720e279c |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1542876294 |
|
||||||
licenseType: Store |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: b18a9c16bcd174b1683d370384a8cab7 |
|
||||||
timeCreated: 1542877475 |
|
||||||
licenseType: Pro |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,63 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!850595691 &4890085278179872738 |
|
||||||
LightingSettings: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_Name: Demo1_HighlightExampleSettings |
|
||||||
serializedVersion: 8 |
|
||||||
m_EnableBakedLightmaps: 0 |
|
||||||
m_EnableRealtimeLightmaps: 1 |
|
||||||
m_RealtimeEnvironmentLighting: 1 |
|
||||||
m_BounceScale: 1 |
|
||||||
m_AlbedoBoost: 1 |
|
||||||
m_IndirectOutputScale: 1 |
|
||||||
m_UsingShadowmask: 0 |
|
||||||
m_BakeBackend: 1 |
|
||||||
m_LightmapMaxSize: 1024 |
|
||||||
m_LightmapSizeFixed: 0 |
|
||||||
m_UseMipmapLimits: 1 |
|
||||||
m_BakeResolution: 40 |
|
||||||
m_Padding: 2 |
|
||||||
m_LightmapCompression: 3 |
|
||||||
m_AO: 1 |
|
||||||
m_AOMaxDistance: 1 |
|
||||||
m_CompAOExponent: 1 |
|
||||||
m_CompAOExponentDirect: 0 |
|
||||||
m_ExtractAO: 0 |
|
||||||
m_MixedBakeMode: 1 |
|
||||||
m_LightmapsBakeMode: 1 |
|
||||||
m_FilterMode: 1 |
|
||||||
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} |
|
||||||
m_ExportTrainingData: 0 |
|
||||||
m_EnableWorkerProcessBaking: 1 |
|
||||||
m_TrainingDataDestination: TrainingData |
|
||||||
m_RealtimeResolution: 2 |
|
||||||
m_ForceWhiteAlbedo: 0 |
|
||||||
m_ForceUpdates: 0 |
|
||||||
m_PVRCulling: 1 |
|
||||||
m_PVRSampling: 1 |
|
||||||
m_PVRDirectSampleCount: 32 |
|
||||||
m_PVRSampleCount: 512 |
|
||||||
m_PVREnvironmentSampleCount: 512 |
|
||||||
m_PVREnvironmentReferencePointCount: 2048 |
|
||||||
m_LightProbeSampleCountMultiplier: 4 |
|
||||||
m_PVRBounces: 2 |
|
||||||
m_PVRMinBounces: 2 |
|
||||||
m_PVREnvironmentImportanceSampling: 0 |
|
||||||
m_PVRFilteringMode: 2 |
|
||||||
m_PVRDenoiserTypeDirect: 0 |
|
||||||
m_PVRDenoiserTypeIndirect: 0 |
|
||||||
m_PVRDenoiserTypeAO: 0 |
|
||||||
m_PVRFilterTypeDirect: 0 |
|
||||||
m_PVRFilterTypeIndirect: 0 |
|
||||||
m_PVRFilterTypeAO: 0 |
|
||||||
m_PVRFilteringGaussRadiusDirect: 1 |
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5 |
|
||||||
m_PVRFilteringGaussRadiusAO: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5 |
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1 |
|
||||||
m_RespectSceneVisibilityWhenBakingGI: 0 |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: af4bdd5ac6ef7e946b0cc9c350d8e2dc |
|
||||||
NativeFormatImporter: |
|
||||||
externalObjects: {} |
|
||||||
mainObjectFileID: 4890085278179872738 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,63 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!850595691 &4890085278179872738 |
|
||||||
LightingSettings: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_Name: Demo2_SelectionExampleSettings |
|
||||||
serializedVersion: 8 |
|
||||||
m_EnableBakedLightmaps: 0 |
|
||||||
m_EnableRealtimeLightmaps: 1 |
|
||||||
m_RealtimeEnvironmentLighting: 1 |
|
||||||
m_BounceScale: 1 |
|
||||||
m_AlbedoBoost: 1 |
|
||||||
m_IndirectOutputScale: 1 |
|
||||||
m_UsingShadowmask: 0 |
|
||||||
m_BakeBackend: 1 |
|
||||||
m_LightmapMaxSize: 1024 |
|
||||||
m_LightmapSizeFixed: 0 |
|
||||||
m_UseMipmapLimits: 1 |
|
||||||
m_BakeResolution: 40 |
|
||||||
m_Padding: 2 |
|
||||||
m_LightmapCompression: 3 |
|
||||||
m_AO: 1 |
|
||||||
m_AOMaxDistance: 1 |
|
||||||
m_CompAOExponent: 1 |
|
||||||
m_CompAOExponentDirect: 0 |
|
||||||
m_ExtractAO: 0 |
|
||||||
m_MixedBakeMode: 1 |
|
||||||
m_LightmapsBakeMode: 1 |
|
||||||
m_FilterMode: 1 |
|
||||||
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} |
|
||||||
m_ExportTrainingData: 0 |
|
||||||
m_EnableWorkerProcessBaking: 1 |
|
||||||
m_TrainingDataDestination: TrainingData |
|
||||||
m_RealtimeResolution: 2 |
|
||||||
m_ForceWhiteAlbedo: 0 |
|
||||||
m_ForceUpdates: 0 |
|
||||||
m_PVRCulling: 1 |
|
||||||
m_PVRSampling: 1 |
|
||||||
m_PVRDirectSampleCount: 32 |
|
||||||
m_PVRSampleCount: 512 |
|
||||||
m_PVREnvironmentSampleCount: 512 |
|
||||||
m_PVREnvironmentReferencePointCount: 2048 |
|
||||||
m_LightProbeSampleCountMultiplier: 4 |
|
||||||
m_PVRBounces: 2 |
|
||||||
m_PVRMinBounces: 2 |
|
||||||
m_PVREnvironmentImportanceSampling: 0 |
|
||||||
m_PVRFilteringMode: 2 |
|
||||||
m_PVRDenoiserTypeDirect: 0 |
|
||||||
m_PVRDenoiserTypeIndirect: 0 |
|
||||||
m_PVRDenoiserTypeAO: 0 |
|
||||||
m_PVRFilterTypeDirect: 0 |
|
||||||
m_PVRFilterTypeIndirect: 0 |
|
||||||
m_PVRFilterTypeAO: 0 |
|
||||||
m_PVRFilteringGaussRadiusDirect: 1 |
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5 |
|
||||||
m_PVRFilteringGaussRadiusAO: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5 |
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1 |
|
||||||
m_RespectSceneVisibilityWhenBakingGI: 0 |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: acaf1774b8017934bba618be14761148 |
|
||||||
NativeFormatImporter: |
|
||||||
externalObjects: {} |
|
||||||
mainObjectFileID: 4890085278179872738 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: d4f7bf313cad54255a94a5340731a311 |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1542877572 |
|
||||||
licenseType: Pro |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,148 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!114 &-8558442800701317947 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 11 |
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
version: 9 |
|
||||||
--- !u!21 &2100000 |
|
||||||
Material: |
|
||||||
serializedVersion: 8 |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_Name: Floor |
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} |
|
||||||
m_Parent: {fileID: 0} |
|
||||||
m_ModifiedSerializedProperties: 0 |
|
||||||
m_ValidKeywords: |
|
||||||
- _NORMALMAP |
|
||||||
m_InvalidKeywords: [] |
|
||||||
m_LightmapFlags: 4 |
|
||||||
m_EnableInstancingVariants: 0 |
|
||||||
m_DoubleSidedGI: 0 |
|
||||||
m_CustomRenderQueue: 2000 |
|
||||||
stringTagMap: |
|
||||||
RenderType: Opaque |
|
||||||
disabledShaderPasses: |
|
||||||
- MOTIONVECTORS |
|
||||||
m_LockedProperties: |
|
||||||
m_SavedProperties: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TexEnvs: |
|
||||||
- _BaseMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: 13ea04b5d27644ccba761e09947624da, type: 3} |
|
||||||
m_Scale: {x: 2, y: 2} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _BumpMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: d398536e88a354ed3b3825173a7e092a, type: 3} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailAlbedoMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 10, y: 10} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailMask: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailNormalMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _EmissionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 2, y: 2} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MainTex: |
|
||||||
m_Texture: {fileID: 2800000, guid: 13ea04b5d27644ccba761e09947624da, type: 3} |
|
||||||
m_Scale: {x: 2, y: 2} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MetallicGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _Occlusion: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _OcclusionMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: 943181a31ab5a411496dc4b0d6a41630, type: 3} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _ParallaxMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _SpecGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_Lightmaps: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_LightmapsInd: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_ShadowMasks: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
m_Ints: [] |
|
||||||
m_Floats: |
|
||||||
- _AlphaClip: 0 |
|
||||||
- _AlphaTestRef: 0.5 |
|
||||||
- _AlphaToMask: 0 |
|
||||||
- _Blend: 0 |
|
||||||
- _BlendModePreserveSpecular: 1 |
|
||||||
- _BumpScale: 1 |
|
||||||
- _ClearCoatMask: 0 |
|
||||||
- _ClearCoatSmoothness: 0 |
|
||||||
- _Cull: 2 |
|
||||||
- _Cutoff: 0.5 |
|
||||||
- _DetailAlbedoMapScale: 1 |
|
||||||
- _DetailNormalMapScale: 0.02 |
|
||||||
- _DstBlend: 0 |
|
||||||
- _DstBlendAlpha: 0 |
|
||||||
- _EmissionScaleUI: 1 |
|
||||||
- _EnvironmentReflections: 1 |
|
||||||
- _GlossMapScale: 0.538 |
|
||||||
- _Glossiness: 0.34 |
|
||||||
- _GlossyReflections: 1 |
|
||||||
- _Lightmapping: 1 |
|
||||||
- _Metallic: 0.1 |
|
||||||
- _Mode: 0 |
|
||||||
- _OcclusionStrength: 1 |
|
||||||
- _Parallax: 0.0104 |
|
||||||
- _QueueOffset: 0 |
|
||||||
- _ReceiveShadows: 1 |
|
||||||
- _Smoothness: 0.34 |
|
||||||
- _SmoothnessTextureChannel: 0 |
|
||||||
- _SpecularHighlights: 1 |
|
||||||
- _SrcBlend: 1 |
|
||||||
- _SrcBlendAlpha: 1 |
|
||||||
- _Surface: 0 |
|
||||||
- _UVSec: 0 |
|
||||||
- _WorkflowMode: 1 |
|
||||||
- _ZWrite: 1 |
|
||||||
m_Colors: |
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0.99999994} |
|
||||||
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _SpecColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _SpecularColor: {r: 0.11764706, g: 0.11764706, b: 0.11764706, a: 1} |
|
||||||
m_BuildTextureStacks: [] |
|
||||||
m_AllowLocking: 1 |
|
@ -1,5 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: d681c1d72c3c16149abd2f0f25ca628c |
|
||||||
NativeFormatImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
@ -1,147 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!114 &-5610605729892836785 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 11 |
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
version: 9 |
|
||||||
--- !u!21 &2100000 |
|
||||||
Material: |
|
||||||
serializedVersion: 8 |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_Name: Gold |
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} |
|
||||||
m_Parent: {fileID: 0} |
|
||||||
m_ModifiedSerializedProperties: 0 |
|
||||||
m_ValidKeywords: [] |
|
||||||
m_InvalidKeywords: [] |
|
||||||
m_LightmapFlags: 4 |
|
||||||
m_EnableInstancingVariants: 0 |
|
||||||
m_DoubleSidedGI: 0 |
|
||||||
m_CustomRenderQueue: 2000 |
|
||||||
stringTagMap: |
|
||||||
RenderType: Opaque |
|
||||||
disabledShaderPasses: |
|
||||||
- MOTIONVECTORS |
|
||||||
m_LockedProperties: |
|
||||||
m_SavedProperties: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TexEnvs: |
|
||||||
- _BaseMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _BumpMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailAlbedoMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailMask: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailNormalMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _EmissionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MainTex: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MetallicGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _Occlusion: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _OcclusionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _ParallaxMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _SpecGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_Lightmaps: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_LightmapsInd: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_ShadowMasks: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
m_Ints: [] |
|
||||||
m_Floats: |
|
||||||
- _AlphaClip: 0 |
|
||||||
- _AlphaTestRef: 0.5 |
|
||||||
- _AlphaToMask: 0 |
|
||||||
- _Blend: 0 |
|
||||||
- _BlendModePreserveSpecular: 1 |
|
||||||
- _BumpScale: 1 |
|
||||||
- _ClearCoatMask: 0 |
|
||||||
- _ClearCoatSmoothness: 0 |
|
||||||
- _Cull: 2 |
|
||||||
- _Cutoff: 0.5 |
|
||||||
- _DetailAlbedoMapScale: 1 |
|
||||||
- _DetailNormalMapScale: 1 |
|
||||||
- _DstBlend: 0 |
|
||||||
- _DstBlendAlpha: 0 |
|
||||||
- _EmissionScaleUI: 0 |
|
||||||
- _EnvironmentReflections: 1 |
|
||||||
- _GlossMapScale: 1 |
|
||||||
- _Glossiness: 0.9 |
|
||||||
- _GlossyReflections: 1 |
|
||||||
- _Lightmapping: 1 |
|
||||||
- _Metallic: 1 |
|
||||||
- _Mode: 0 |
|
||||||
- _OcclusionStrength: 1 |
|
||||||
- _Parallax: 0.02 |
|
||||||
- _QueueOffset: 0 |
|
||||||
- _ReceiveShadows: 1 |
|
||||||
- _Smoothness: 0.9 |
|
||||||
- _SmoothnessTextureChannel: 0 |
|
||||||
- _SpecularHighlights: 1 |
|
||||||
- _SrcBlend: 1 |
|
||||||
- _SrcBlendAlpha: 1 |
|
||||||
- _Surface: 0 |
|
||||||
- _UVSec: 0 |
|
||||||
- _WorkflowMode: 1 |
|
||||||
- _ZWrite: 1 |
|
||||||
m_Colors: |
|
||||||
- _BaseColor: {r: 0.96078426, g: 0.8392157, b: 0.47450978, a: 1} |
|
||||||
- _Color: {r: 0.96078426, g: 0.8392157, b: 0.47450978, a: 1} |
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0} |
|
||||||
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} |
|
||||||
- _SpecularColor: {r: 0.8088235, g: 0.6295969, b: 0.3033088, a: 1} |
|
||||||
m_BuildTextureStacks: [] |
|
||||||
m_AllowLocking: 1 |
|
@ -1,5 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 5b12cf4be3e7c5149a5f24108ee6a551 |
|
||||||
NativeFormatImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
@ -1,147 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!114 &-2992342339722848979 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 11 |
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
version: 9 |
|
||||||
--- !u!21 &2100000 |
|
||||||
Material: |
|
||||||
serializedVersion: 8 |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_Name: PlasticGlossy |
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} |
|
||||||
m_Parent: {fileID: 0} |
|
||||||
m_ModifiedSerializedProperties: 0 |
|
||||||
m_ValidKeywords: [] |
|
||||||
m_InvalidKeywords: [] |
|
||||||
m_LightmapFlags: 4 |
|
||||||
m_EnableInstancingVariants: 0 |
|
||||||
m_DoubleSidedGI: 0 |
|
||||||
m_CustomRenderQueue: 2000 |
|
||||||
stringTagMap: |
|
||||||
RenderType: Opaque |
|
||||||
disabledShaderPasses: |
|
||||||
- MOTIONVECTORS |
|
||||||
m_LockedProperties: |
|
||||||
m_SavedProperties: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TexEnvs: |
|
||||||
- _BaseMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _BumpMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailAlbedoMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailMask: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailNormalMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _EmissionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MainTex: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MetallicGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _Occlusion: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _OcclusionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _ParallaxMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _SpecGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_Lightmaps: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_LightmapsInd: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_ShadowMasks: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
m_Ints: [] |
|
||||||
m_Floats: |
|
||||||
- _AlphaClip: 0 |
|
||||||
- _AlphaTestRef: 0.5 |
|
||||||
- _AlphaToMask: 0 |
|
||||||
- _Blend: 0 |
|
||||||
- _BlendModePreserveSpecular: 1 |
|
||||||
- _BumpScale: 1 |
|
||||||
- _ClearCoatMask: 0 |
|
||||||
- _ClearCoatSmoothness: 0 |
|
||||||
- _Cull: 2 |
|
||||||
- _Cutoff: 0.5 |
|
||||||
- _DetailAlbedoMapScale: 1 |
|
||||||
- _DetailNormalMapScale: 1 |
|
||||||
- _DstBlend: 0 |
|
||||||
- _DstBlendAlpha: 0 |
|
||||||
- _EmissionScaleUI: 0 |
|
||||||
- _EnvironmentReflections: 1 |
|
||||||
- _GlossMapScale: 1 |
|
||||||
- _Glossiness: 0.8 |
|
||||||
- _GlossyReflections: 1 |
|
||||||
- _Lightmapping: 1 |
|
||||||
- _Metallic: 0 |
|
||||||
- _Mode: 0 |
|
||||||
- _OcclusionStrength: 1 |
|
||||||
- _Parallax: 0.02 |
|
||||||
- _QueueOffset: 0 |
|
||||||
- _ReceiveShadows: 1 |
|
||||||
- _Smoothness: 0.8 |
|
||||||
- _SmoothnessTextureChannel: 0 |
|
||||||
- _SpecularHighlights: 1 |
|
||||||
- _SrcBlend: 1 |
|
||||||
- _SrcBlendAlpha: 1 |
|
||||||
- _Surface: 0 |
|
||||||
- _UVSec: 0 |
|
||||||
- _WorkflowMode: 1 |
|
||||||
- _ZWrite: 1 |
|
||||||
m_Colors: |
|
||||||
- _BaseColor: {r: 0, g: 0.78942597, b: 0.79607844, a: 1} |
|
||||||
- _Color: {r: 0, g: 0.78942597, b: 0.79607844, a: 1} |
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0} |
|
||||||
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} |
|
||||||
- _SpecularColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} |
|
||||||
m_BuildTextureStacks: [] |
|
||||||
m_AllowLocking: 1 |
|
@ -1,5 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 958abb01761e1dc4ebf9ffdf8252d20e |
|
||||||
NativeFormatImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
@ -1,147 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!21 &2100000 |
|
||||||
Material: |
|
||||||
serializedVersion: 8 |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_Name: Silk |
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} |
|
||||||
m_Parent: {fileID: 0} |
|
||||||
m_ModifiedSerializedProperties: 0 |
|
||||||
m_ValidKeywords: [] |
|
||||||
m_InvalidKeywords: [] |
|
||||||
m_LightmapFlags: 4 |
|
||||||
m_EnableInstancingVariants: 0 |
|
||||||
m_DoubleSidedGI: 0 |
|
||||||
m_CustomRenderQueue: 2000 |
|
||||||
stringTagMap: |
|
||||||
RenderType: Opaque |
|
||||||
disabledShaderPasses: |
|
||||||
- MOTIONVECTORS |
|
||||||
m_LockedProperties: |
|
||||||
m_SavedProperties: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TexEnvs: |
|
||||||
- _BaseMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _BumpMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailAlbedoMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailMask: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailNormalMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _EmissionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MainTex: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MetallicGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _Occlusion: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _OcclusionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _ParallaxMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _SpecGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_Lightmaps: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_LightmapsInd: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_ShadowMasks: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
m_Ints: [] |
|
||||||
m_Floats: |
|
||||||
- _AlphaClip: 0 |
|
||||||
- _AlphaTestRef: 0.5 |
|
||||||
- _AlphaToMask: 0 |
|
||||||
- _Blend: 0 |
|
||||||
- _BlendModePreserveSpecular: 1 |
|
||||||
- _BumpScale: 1 |
|
||||||
- _ClearCoatMask: 0 |
|
||||||
- _ClearCoatSmoothness: 0 |
|
||||||
- _Cull: 2 |
|
||||||
- _Cutoff: 0.5 |
|
||||||
- _DetailAlbedoMapScale: 1 |
|
||||||
- _DetailNormalMapScale: 1 |
|
||||||
- _DstBlend: 0 |
|
||||||
- _DstBlendAlpha: 0 |
|
||||||
- _EmissionScaleUI: 0 |
|
||||||
- _EnvironmentReflections: 1 |
|
||||||
- _GlossMapScale: 1 |
|
||||||
- _Glossiness: 0.6 |
|
||||||
- _GlossyReflections: 1 |
|
||||||
- _Lightmapping: 1 |
|
||||||
- _Metallic: 0.75 |
|
||||||
- _Mode: 0 |
|
||||||
- _OcclusionStrength: 1 |
|
||||||
- _Parallax: 0.02 |
|
||||||
- _QueueOffset: 0 |
|
||||||
- _ReceiveShadows: 1 |
|
||||||
- _Smoothness: 0.6 |
|
||||||
- _SmoothnessTextureChannel: 0 |
|
||||||
- _SpecularHighlights: 1 |
|
||||||
- _SrcBlend: 1 |
|
||||||
- _SrcBlendAlpha: 1 |
|
||||||
- _Surface: 0 |
|
||||||
- _UVSec: 0 |
|
||||||
- _WorkflowMode: 1 |
|
||||||
- _ZWrite: 1 |
|
||||||
m_Colors: |
|
||||||
- _BaseColor: {r: 0.49411762, g: 0.145098, b: 0.16470584, a: 1} |
|
||||||
- _Color: {r: 0.49411762, g: 0.14509797, b: 0.16470581, a: 1} |
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0} |
|
||||||
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} |
|
||||||
- _SpecularColor: {r: 0.74264705, g: 0.20750435, b: 0.216731, a: 1} |
|
||||||
m_BuildTextureStacks: [] |
|
||||||
m_AllowLocking: 1 |
|
||||||
--- !u!114 &7254247028269435741 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 11 |
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
version: 9 |
|
@ -1,5 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 3134ae80e55101b468fe9ea362327f28 |
|
||||||
NativeFormatImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
@ -1,150 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!114 &-6803998695329737601 |
|
||||||
MonoBehaviour: |
|
||||||
m_ObjectHideFlags: 11 |
|
||||||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} |
|
||||||
m_Name: |
|
||||||
m_EditorClassIdentifier: |
|
||||||
version: 9 |
|
||||||
--- !u!21 &2100000 |
|
||||||
Material: |
|
||||||
serializedVersion: 8 |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_CorrespondingSourceObject: {fileID: 0} |
|
||||||
m_PrefabInstance: {fileID: 0} |
|
||||||
m_PrefabAsset: {fileID: 0} |
|
||||||
m_Name: Wall |
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} |
|
||||||
m_Parent: {fileID: 0} |
|
||||||
m_ModifiedSerializedProperties: 0 |
|
||||||
m_ValidKeywords: |
|
||||||
- _NORMALMAP |
|
||||||
- _OCCLUSIONMAP |
|
||||||
- _PARALLAXMAP |
|
||||||
m_InvalidKeywords: [] |
|
||||||
m_LightmapFlags: 4 |
|
||||||
m_EnableInstancingVariants: 0 |
|
||||||
m_DoubleSidedGI: 0 |
|
||||||
m_CustomRenderQueue: 2000 |
|
||||||
stringTagMap: |
|
||||||
RenderType: Opaque |
|
||||||
disabledShaderPasses: |
|
||||||
- MOTIONVECTORS |
|
||||||
m_LockedProperties: |
|
||||||
m_SavedProperties: |
|
||||||
serializedVersion: 3 |
|
||||||
m_TexEnvs: |
|
||||||
- _BaseMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: dc645ec4f4eba40dd8f0e8b0c21b99b0, type: 3} |
|
||||||
m_Scale: {x: 3, y: 3} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _BumpMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: ebcd1fde239ed44bc808f7c571d8a6a9, type: 3} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailAlbedoMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 10, y: 10} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailMask: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _DetailNormalMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _EmissionMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 3, y: 3} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MainTex: |
|
||||||
m_Texture: {fileID: 2800000, guid: dc645ec4f4eba40dd8f0e8b0c21b99b0, type: 3} |
|
||||||
m_Scale: {x: 3, y: 3} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _MetallicGlossMap: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _Occlusion: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _OcclusionMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: 2fb008ff4214b4130a4f33cb385b6fa6, type: 3} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _ParallaxMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: 4c5aaebe522004ddfbf0da83b147e635, type: 3} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- _SpecGlossMap: |
|
||||||
m_Texture: {fileID: 2800000, guid: a1d43acc22aa4427f89ca56382ce5272, type: 3} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_Lightmaps: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_LightmapsInd: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
- unity_ShadowMasks: |
|
||||||
m_Texture: {fileID: 0} |
|
||||||
m_Scale: {x: 1, y: 1} |
|
||||||
m_Offset: {x: 0, y: 0} |
|
||||||
m_Ints: [] |
|
||||||
m_Floats: |
|
||||||
- _AlphaClip: 0 |
|
||||||
- _AlphaTestRef: 0.5 |
|
||||||
- _AlphaToMask: 0 |
|
||||||
- _Blend: 0 |
|
||||||
- _BlendModePreserveSpecular: 1 |
|
||||||
- _BumpScale: 1 |
|
||||||
- _ClearCoatMask: 0 |
|
||||||
- _ClearCoatSmoothness: 0 |
|
||||||
- _Cull: 2 |
|
||||||
- _Cutoff: 0.5 |
|
||||||
- _DetailAlbedoMapScale: 1 |
|
||||||
- _DetailNormalMapScale: 0.02 |
|
||||||
- _DstBlend: 0 |
|
||||||
- _DstBlendAlpha: 0 |
|
||||||
- _EmissionScaleUI: 1 |
|
||||||
- _EnvironmentReflections: 1 |
|
||||||
- _GlossMapScale: 0.325 |
|
||||||
- _Glossiness: 0.311 |
|
||||||
- _GlossyReflections: 1 |
|
||||||
- _Lightmapping: 1 |
|
||||||
- _Metallic: 0 |
|
||||||
- _Mode: 0 |
|
||||||
- _OcclusionStrength: 1 |
|
||||||
- _Parallax: 0.0203 |
|
||||||
- _QueueOffset: 0 |
|
||||||
- _ReceiveShadows: 1 |
|
||||||
- _Smoothness: 0.311 |
|
||||||
- _SmoothnessTextureChannel: 0 |
|
||||||
- _SpecularHighlights: 1 |
|
||||||
- _SrcBlend: 1 |
|
||||||
- _SrcBlendAlpha: 1 |
|
||||||
- _Surface: 0 |
|
||||||
- _UVSec: 0 |
|
||||||
- _WorkflowMode: 1 |
|
||||||
- _ZWrite: 1 |
|
||||||
m_Colors: |
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0.99999994} |
|
||||||
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _SpecColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
- _SpecularColor: {r: 0.11764706, g: 0.11764706, b: 0.11764706, a: 1} |
|
||||||
m_BuildTextureStacks: [] |
|
||||||
m_AllowLocking: 1 |
|
@ -1,5 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 0062779a7c303451ab69ea6fc7893dc8 |
|
||||||
NativeFormatImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
@ -1,91 +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: 8e9253636bf2648bd813257f451f8486, type: 3} |
|
||||||
m_Name: Selected |
|
||||||
m_EditorClassIdentifier: |
|
||||||
effectGroup: 0 |
|
||||||
effectGroupLayer: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
effectNameFilter: |
|
||||||
combineMeshes: 0 |
|
||||||
alphaCutOff: 0 |
|
||||||
cullBackFaces: 1 |
|
||||||
depthClip: 0 |
|
||||||
normalsOption: 0 |
|
||||||
fadeInDuration: 0 |
|
||||||
fadeOutDuration: 0 |
|
||||||
constantWidth: 1 |
|
||||||
overlay: 0 |
|
||||||
overlayColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1} |
|
||||||
overlayAnimationSpeed: 1 |
|
||||||
overlayMinIntensity: 0.5 |
|
||||||
overlayBlending: 1 |
|
||||||
outline: 1 |
|
||||||
outlineColor: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
outlineWidth: 1.5 |
|
||||||
outlineQuality: 1 |
|
||||||
outlineDownsampling: 2 |
|
||||||
outlineOptimalBlit: 1 |
|
||||||
outlineVisibility: 0 |
|
||||||
outlineIndependent: 0 |
|
||||||
glow: 1 |
|
||||||
glowWidth: 0.5 |
|
||||||
glowQuality: 1 |
|
||||||
glowDownsampling: 2 |
|
||||||
glowHQColor: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
glowDithering: 1 |
|
||||||
glowOptimalBlit: 1 |
|
||||||
glowMagicNumber1: 0.75 |
|
||||||
glowMagicNumber2: 0.5 |
|
||||||
glowAnimationSpeed: 1 |
|
||||||
glowVisibility: 0 |
|
||||||
glowBlendPasses: 1 |
|
||||||
glowPasses: |
|
||||||
- offset: 4 |
|
||||||
alpha: 0.1 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
- offset: 3 |
|
||||||
alpha: 0.2 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
- offset: 2 |
|
||||||
alpha: 0.3 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
- offset: 1 |
|
||||||
alpha: 0.4 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
innerGlow: 0.5 |
|
||||||
innerGlowWidth: 1 |
|
||||||
innerGlowColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
innerGlowVisibility: 0 |
|
||||||
targetFX: 0 |
|
||||||
targetFXTexture: {fileID: 0} |
|
||||||
targetFXColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
targetFXRotationSpeed: 50 |
|
||||||
targetFXInitialScale: 4 |
|
||||||
targetFXEndScale: 1.5 |
|
||||||
targetFXTransitionDuration: 0.5 |
|
||||||
targetFXStayDuration: 1.5 |
|
||||||
targetFXVisibility: 1 |
|
||||||
seeThrough: 2 |
|
||||||
seeThroughOccluderMask: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
seeThroughOccluderThreshold: 0.4 |
|
||||||
seeThroughOccluderCheckInterval: 1 |
|
||||||
seeThroughIntensity: 0.8 |
|
||||||
seeThroughTintAlpha: 0.5 |
|
||||||
seeThroughTintColor: {r: 1, g: 0, b: 0, a: 1} |
|
||||||
seeThroughNoise: 1 |
|
||||||
seeThroughBorder: 0 |
|
||||||
seeThroughBorderColor: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
seeThroughBorderWidth: 0.45 |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: e6e74f38237364260b68bef0cd1b8795 |
|
||||||
NativeFormatImporter: |
|
||||||
externalObjects: {} |
|
||||||
mainObjectFileID: 11400000 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,91 +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: 8e9253636bf2648bd813257f451f8486, type: 3} |
|
||||||
m_Name: SelectedAndHighlighted |
|
||||||
m_EditorClassIdentifier: |
|
||||||
effectGroup: 0 |
|
||||||
effectGroupLayer: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
effectNameFilter: |
|
||||||
combineMeshes: 0 |
|
||||||
alphaCutOff: 0 |
|
||||||
cullBackFaces: 1 |
|
||||||
depthClip: 0 |
|
||||||
normalsOption: 0 |
|
||||||
fadeInDuration: 0 |
|
||||||
fadeOutDuration: 0 |
|
||||||
constantWidth: 1 |
|
||||||
overlay: 0.5 |
|
||||||
overlayColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1} |
|
||||||
overlayAnimationSpeed: 1 |
|
||||||
overlayMinIntensity: 0.5 |
|
||||||
overlayBlending: 1 |
|
||||||
outline: 1 |
|
||||||
outlineColor: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
outlineWidth: 1.5 |
|
||||||
outlineQuality: 1 |
|
||||||
outlineDownsampling: 2 |
|
||||||
outlineOptimalBlit: 1 |
|
||||||
outlineVisibility: 0 |
|
||||||
outlineIndependent: 0 |
|
||||||
glow: 1 |
|
||||||
glowWidth: 0.5 |
|
||||||
glowQuality: 1 |
|
||||||
glowDownsampling: 2 |
|
||||||
glowHQColor: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
glowDithering: 1 |
|
||||||
glowOptimalBlit: 1 |
|
||||||
glowMagicNumber1: 0.75 |
|
||||||
glowMagicNumber2: 0.5 |
|
||||||
glowAnimationSpeed: 1 |
|
||||||
glowVisibility: 0 |
|
||||||
glowBlendPasses: 1 |
|
||||||
glowPasses: |
|
||||||
- offset: 4 |
|
||||||
alpha: 0.1 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
- offset: 3 |
|
||||||
alpha: 0.2 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
- offset: 2 |
|
||||||
alpha: 0.3 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
- offset: 1 |
|
||||||
alpha: 0.4 |
|
||||||
color: {r: 0.64, g: 1, b: 0, a: 1} |
|
||||||
innerGlow: 0.5 |
|
||||||
innerGlowWidth: 1 |
|
||||||
innerGlowColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
innerGlowVisibility: 0 |
|
||||||
targetFX: 0 |
|
||||||
targetFXTexture: {fileID: 0} |
|
||||||
targetFXColor: {r: 1, g: 1, b: 1, a: 1} |
|
||||||
targetFXRotationSpeed: 50 |
|
||||||
targetFXInitialScale: 4 |
|
||||||
targetFXEndScale: 1.5 |
|
||||||
targetFXTransitionDuration: 0.5 |
|
||||||
targetFXStayDuration: 1.5 |
|
||||||
targetFXVisibility: 1 |
|
||||||
seeThrough: 2 |
|
||||||
seeThroughOccluderMask: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
seeThroughOccluderThreshold: 0.4 |
|
||||||
seeThroughOccluderCheckInterval: 1 |
|
||||||
seeThroughIntensity: 0.8 |
|
||||||
seeThroughTintAlpha: 0.5 |
|
||||||
seeThroughTintColor: {r: 1, g: 0, b: 0, a: 1} |
|
||||||
seeThroughNoise: 1 |
|
||||||
seeThroughBorder: 0 |
|
||||||
seeThroughBorderColor: {r: 0, g: 0, b: 0, a: 1} |
|
||||||
seeThroughBorderWidth: 0.45 |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 77128a10e40704023952e72c2046e685 |
|
||||||
NativeFormatImporter: |
|
||||||
externalObjects: {} |
|
||||||
mainObjectFileID: 11400000 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,331 +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: 2ec995e51a6e251468d2a3fd8a686257, type: 3} |
|
||||||
m_Name: UniversalRenderPipelineGlobalSettings |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_ShaderStrippingSetting: |
|
||||||
m_Version: 0 |
|
||||||
m_ExportShaderVariants: 1 |
|
||||||
m_ShaderVariantLogLevel: 0 |
|
||||||
m_StripRuntimeDebugShaders: 1 |
|
||||||
m_URPShaderStrippingSetting: |
|
||||||
m_Version: 0 |
|
||||||
m_StripUnusedPostProcessingVariants: 0 |
|
||||||
m_StripUnusedVariants: 1 |
|
||||||
m_StripScreenCoordOverrideVariants: 1 |
|
||||||
m_ShaderVariantLogLevel: 0 |
|
||||||
m_ExportShaderVariants: 1 |
|
||||||
m_StripDebugVariants: 1 |
|
||||||
m_StripUnusedPostProcessingVariants: 0 |
|
||||||
m_StripUnusedVariants: 1 |
|
||||||
m_StripScreenCoordOverrideVariants: 1 |
|
||||||
supportRuntimeDebugDisplay: 0 |
|
||||||
m_EnableRenderGraph: 0 |
|
||||||
m_Settings: |
|
||||||
m_SettingsList: |
|
||||||
m_List: |
|
||||||
- rid: 4004697508563124283 |
|
||||||
- rid: 4004697508563124284 |
|
||||||
- rid: 4004697508563124285 |
|
||||||
- rid: 4004697508563124286 |
|
||||||
- rid: 4004697508563124287 |
|
||||||
- rid: 4004697508563124288 |
|
||||||
- rid: 4004697508563124289 |
|
||||||
- rid: 4004697508563124290 |
|
||||||
- rid: 4004697508563124291 |
|
||||||
- rid: 4004697508563124292 |
|
||||||
- rid: 4004697508563124293 |
|
||||||
- rid: 4004697508563124294 |
|
||||||
- rid: 4004697508563124295 |
|
||||||
- rid: 4004697508563124296 |
|
||||||
- rid: 4004697508563124297 |
|
||||||
- rid: 4004697508563124298 |
|
||||||
- rid: 4004697508563124299 |
|
||||||
- rid: 4004697508563124300 |
|
||||||
- rid: 4004697508563124301 |
|
||||||
- rid: 4004697508563124302 |
|
||||||
- rid: 2672477588653867008 |
|
||||||
m_RuntimeSettings: |
|
||||||
m_List: [] |
|
||||||
m_AssetVersion: 8 |
|
||||||
m_ObsoleteDefaultVolumeProfile: {fileID: 0} |
|
||||||
m_RenderingLayerNames: |
|
||||||
- Light Layer default |
|
||||||
- Light Layer 1 |
|
||||||
- Light Layer 2 |
|
||||||
- Light Layer 3 |
|
||||||
- Light Layer 4 |
|
||||||
- Light Layer 5 |
|
||||||
- Light Layer 6 |
|
||||||
- Light Layer 7 |
|
||||||
m_ValidRenderingLayers: 255 |
|
||||||
lightLayerName0: Light Layer default |
|
||||||
lightLayerName1: Light Layer 1 |
|
||||||
lightLayerName2: Light Layer 2 |
|
||||||
lightLayerName3: Light Layer 3 |
|
||||||
lightLayerName4: Light Layer 4 |
|
||||||
lightLayerName5: Light Layer 5 |
|
||||||
lightLayerName6: Light Layer 6 |
|
||||||
lightLayerName7: Light Layer 7 |
|
||||||
apvScenesData: |
|
||||||
obsoleteSceneBounds: |
|
||||||
m_Keys: [] |
|
||||||
m_Values: [] |
|
||||||
obsoleteHasProbeVolumes: |
|
||||||
m_Keys: [] |
|
||||||
m_Values: |
|
||||||
references: |
|
||||||
version: 2 |
|
||||||
RefIds: |
|
||||||
- rid: 2672477588653867008 |
|
||||||
type: {class: RenderGraphUtilsResources, ns: UnityEngine.Rendering.RenderGraphModule.Util, |
|
||||||
asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_CoreCopyPS: {fileID: 4800000, guid: 12dc59547ea167a4ab435097dd0f9add, type: 3} |
|
||||||
- rid: 4004697508563124283 |
|
||||||
type: {class: UniversalRenderPipelineEditorShaders, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_AutodeskInteractive: {fileID: 4800000, guid: 0e9d5a909a1f7e84882a534d0d11e49f, |
|
||||||
type: 3} |
|
||||||
m_AutodeskInteractiveTransparent: {fileID: 4800000, guid: 5c81372d981403744adbdda4433c9c11, |
|
||||||
type: 3} |
|
||||||
m_AutodeskInteractiveMasked: {fileID: 4800000, guid: 80aa867ac363ac043847b06ad71604cd, |
|
||||||
type: 3} |
|
||||||
m_TerrainDetailLit: {fileID: 4800000, guid: f6783ab646d374f94b199774402a5144, |
|
||||||
type: 3} |
|
||||||
m_TerrainDetailGrassBillboard: {fileID: 4800000, guid: 29868e73b638e48ca99a19ea58c48d90, |
|
||||||
type: 3} |
|
||||||
m_TerrainDetailGrass: {fileID: 4800000, guid: e507fdfead5ca47e8b9a768b51c291a1, |
|
||||||
type: 3} |
|
||||||
m_DefaultSpeedTree7Shader: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, |
|
||||||
type: 3} |
|
||||||
m_DefaultSpeedTree8Shader: {fileID: -6465566751694194690, guid: 9920c1f1781549a46ba081a2a15a16ec, |
|
||||||
type: 3} |
|
||||||
m_DefaultSpeedTree9Shader: {fileID: -6465566751694194690, guid: cbd3e1cc4ae141c42a30e33b4d666a61, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124284 |
|
||||||
type: {class: UniversalRenderPipelineDebugShaders, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_DebugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, |
|
||||||
type: 3} |
|
||||||
m_HdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, |
|
||||||
type: 3} |
|
||||||
m_ProbeVolumeSamplingDebugComputeShader: {fileID: 7200000, guid: 53626a513ea68ce47b59dc1299fe3959, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124285 |
|
||||||
type: {class: Renderer2DResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_LightShader: {fileID: 4800000, guid: 3f6c848ca3d7bca4bbe846546ac701a1, type: 3} |
|
||||||
m_ProjectedShadowShader: {fileID: 4800000, guid: ce09d4a80b88c5a4eb9768fab4f1ee00, |
|
||||||
type: 3} |
|
||||||
m_SpriteShadowShader: {fileID: 4800000, guid: 44fc62292b65ab04eabcf310e799ccf6, |
|
||||||
type: 3} |
|
||||||
m_SpriteUnshadowShader: {fileID: 4800000, guid: de02b375720b5c445afe83cd483bedf3, |
|
||||||
type: 3} |
|
||||||
m_GeometryShadowShader: {fileID: 4800000, guid: 19349a0f9a7ed4c48a27445bcf92e5e1, |
|
||||||
type: 3} |
|
||||||
m_GeometryUnshadowShader: {fileID: 4800000, guid: 77774d9009bb81447b048c907d4c6273, |
|
||||||
type: 3} |
|
||||||
m_FallOffLookup: {fileID: 2800000, guid: 5688ab254e4c0634f8d6c8e0792331ca, |
|
||||||
type: 3} |
|
||||||
m_CopyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} |
|
||||||
m_DefaultCustomMaterial: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, |
|
||||||
type: 2} |
|
||||||
m_DefaultLitMaterial: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, |
|
||||||
type: 2} |
|
||||||
m_DefaultUnlitMaterial: {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, |
|
||||||
type: 2} |
|
||||||
m_DefaultMaskMaterial: {fileID: 2100000, guid: 15d0c3709176029428a0da2f8cecf0b5, |
|
||||||
type: 2} |
|
||||||
- rid: 4004697508563124286 |
|
||||||
type: {class: UniversalRendererResources, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_CopyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} |
|
||||||
m_CameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, |
|
||||||
type: 3} |
|
||||||
m_StencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, |
|
||||||
type: 3} |
|
||||||
m_DBufferClear: {fileID: 4800000, guid: f056d8bd2a1c7e44e9729144b4c70395, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124287 |
|
||||||
type: {class: UniversalRenderPipelineEditorMaterials, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_DefaultMaterial: {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, |
|
||||||
type: 2} |
|
||||||
m_DefaultParticleMaterial: {fileID: 2100000, guid: e823cd5b5d27c0f4b8256e7c12ee3e6d, |
|
||||||
type: 2} |
|
||||||
m_DefaultLineMaterial: {fileID: 2100000, guid: e823cd5b5d27c0f4b8256e7c12ee3e6d, |
|
||||||
type: 2} |
|
||||||
m_DefaultTerrainMaterial: {fileID: 2100000, guid: 594ea882c5a793440b60ff72d896021e, |
|
||||||
type: 2} |
|
||||||
m_DefaultDecalMaterial: {fileID: 2100000, guid: 31d0dcc6f2dd4e4408d18036a2c93862, |
|
||||||
type: 2} |
|
||||||
- rid: 4004697508563124288 |
|
||||||
type: {class: URPDefaultVolumeProfileSettings, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_VolumeProfile: {fileID: 11400000, guid: 3e667339fdc19314bbf6ddce9edf303d, |
|
||||||
type: 2} |
|
||||||
- rid: 4004697508563124289 |
|
||||||
type: {class: URPShaderStrippingSetting, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_StripUnusedPostProcessingVariants: 0 |
|
||||||
m_StripUnusedVariants: 1 |
|
||||||
m_StripScreenCoordOverrideVariants: 1 |
|
||||||
- rid: 4004697508563124290 |
|
||||||
type: {class: UniversalRenderPipelineRuntimeTextures, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 1 |
|
||||||
m_BlueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, |
|
||||||
type: 3} |
|
||||||
m_BayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, |
|
||||||
type: 3} |
|
||||||
m_DebugFontTex: {fileID: 2800000, guid: 26a413214480ef144b2915d6ff4d0beb, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124291 |
|
||||||
type: {class: RenderGraphSettings, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_EnableRenderCompatibilityMode: 0 |
|
||||||
- rid: 4004697508563124292 |
|
||||||
type: {class: UniversalRenderPipelineRuntimeShaders, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_FallbackErrorShader: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, |
|
||||||
type: 3} |
|
||||||
m_BlitHDROverlay: {fileID: 4800000, guid: a89bee29cffa951418fc1e2da94d1959, |
|
||||||
type: 3} |
|
||||||
m_CoreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3} |
|
||||||
m_CoreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, |
|
||||||
type: 3} |
|
||||||
m_SamplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3} |
|
||||||
- rid: 4004697508563124293 |
|
||||||
type: {class: UniversalRenderPipelineRuntimeXRResources, ns: UnityEngine.Rendering.Universal, |
|
||||||
asm: Unity.RenderPipelines.Universal.Runtime} |
|
||||||
data: |
|
||||||
m_xrOcclusionMeshPS: {fileID: 4800000, guid: 4431b1f1f743fbf4eb310a967890cbea, |
|
||||||
type: 3} |
|
||||||
m_xrMirrorViewPS: {fileID: 4800000, guid: d5a307c014552314b9f560906d708772, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124294 |
|
||||||
type: {class: GPUResidentDrawerResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.GPUDriven.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_InstanceDataBufferCopyKernels: {fileID: 7200000, guid: f984aeb540ded8b4fbb8a2047ab5b2e2, |
|
||||||
type: 3} |
|
||||||
m_InstanceDataBufferUploadKernels: {fileID: 7200000, guid: 53864816eb00f2343b60e1a2c5a262ef, |
|
||||||
type: 3} |
|
||||||
m_TransformUpdaterKernels: {fileID: 7200000, guid: 2a567b9b2733f8d47a700c3c85bed75b, |
|
||||||
type: 3} |
|
||||||
m_WindDataUpdaterKernels: {fileID: 7200000, guid: fde76746e4fd0ed418c224f6b4084114, |
|
||||||
type: 3} |
|
||||||
m_OccluderDepthPyramidKernels: {fileID: 7200000, guid: 08b2b5fb307b0d249860612774a987da, |
|
||||||
type: 3} |
|
||||||
m_InstanceOcclusionCullingKernels: {fileID: 7200000, guid: f6d223acabc2f974795a5a7864b50e6c, |
|
||||||
type: 3} |
|
||||||
m_OcclusionCullingDebugKernels: {fileID: 7200000, guid: b23e766bcf50ca4438ef186b174557df, |
|
||||||
type: 3} |
|
||||||
m_DebugOcclusionTestPS: {fileID: 4800000, guid: d3f0849180c2d0944bc71060693df100, |
|
||||||
type: 3} |
|
||||||
m_DebugOccluderPS: {fileID: 4800000, guid: b3c92426a88625841ab15ca6a7917248, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124295 |
|
||||||
type: {class: ProbeVolumeBakingResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 1 |
|
||||||
dilationShader: {fileID: 7200000, guid: 6bb382f7de370af41b775f54182e491d, |
|
||||||
type: 3} |
|
||||||
subdivideSceneCS: {fileID: 7200000, guid: bb86f1f0af829fd45b2ebddda1245c22, |
|
||||||
type: 3} |
|
||||||
voxelizeSceneShader: {fileID: 4800000, guid: c8b6a681c7b4e2e4785ffab093907f9e, |
|
||||||
type: 3} |
|
||||||
traceVirtualOffsetCS: {fileID: 7200000, guid: 805f10d263aac4b4098c0279cd37a4f3, |
|
||||||
type: 3} |
|
||||||
traceVirtualOffsetRT: {fileID: 4807578003741378534, guid: b60511f4aa1443f4d8c0b18f4fec92f4, |
|
||||||
type: 3} |
|
||||||
skyOcclusionCS: {fileID: 7200000, guid: 798f52ec82fa04048a12826bbbbcf7b4, |
|
||||||
type: 3} |
|
||||||
skyOcclusionRT: {fileID: 4807578003741378534, guid: dfaf42b38dd001f49a72d8102b709f29, |
|
||||||
type: 3} |
|
||||||
renderingLayerCS: {fileID: 7200000, guid: a63c9cf933e3d8f41ae680a372784ebf, |
|
||||||
type: 3} |
|
||||||
renderingLayerRT: {fileID: 4807578003741378534, guid: c2be09c936362eb49a58f08aeb30627a, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124296 |
|
||||||
type: {class: RenderGraphGlobalSettings, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_version: 0 |
|
||||||
m_EnableCompilationCaching: 1 |
|
||||||
m_EnableValidityChecks: 1 |
|
||||||
- rid: 4004697508563124297 |
|
||||||
type: {class: ProbeVolumeGlobalSettings, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 1 |
|
||||||
m_ProbeVolumeDisableStreamingAssets: 0 |
|
||||||
- rid: 4004697508563124298 |
|
||||||
type: {class: STP/RuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_setupCS: {fileID: 7200000, guid: 33be2e9a5506b2843bdb2bdff9cad5e1, type: 3} |
|
||||||
m_preTaaCS: {fileID: 7200000, guid: a679dba8ec4d9ce45884a270b0e22dda, type: 3} |
|
||||||
m_taaCS: {fileID: 7200000, guid: 3923900e2b41b5e47bc25bfdcbcdc9e6, type: 3} |
|
||||||
- rid: 4004697508563124299 |
|
||||||
type: {class: ProbeVolumeDebugResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 1 |
|
||||||
probeVolumeDebugShader: {fileID: 4800000, guid: 3b21275fd12d65f49babb5286f040f2d, |
|
||||||
type: 3} |
|
||||||
probeVolumeFragmentationDebugShader: {fileID: 4800000, guid: 3a80877c579b9144ebdcc6d923bca303, |
|
||||||
type: 3} |
|
||||||
probeVolumeSamplingDebugShader: {fileID: 4800000, guid: bf54e6528c79a224e96346799064c393, |
|
||||||
type: 3} |
|
||||||
probeVolumeOffsetDebugShader: {fileID: 4800000, guid: db8bd7436dc2c5f4c92655307d198381, |
|
||||||
type: 3} |
|
||||||
probeSamplingDebugMesh: {fileID: -3555484719484374845, guid: 20be25aac4e22ee49a7db76fb3df6de2, |
|
||||||
type: 3} |
|
||||||
numbersDisplayTex: {fileID: 2800000, guid: 73fe53b428c5b3440b7e87ee830b608a, |
|
||||||
type: 3} |
|
||||||
- rid: 4004697508563124300 |
|
||||||
type: {class: IncludeAdditionalRPAssets, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_version: 0 |
|
||||||
m_IncludeReferencedInScenes: 0 |
|
||||||
m_IncludeAssetsByLabel: 0 |
|
||||||
m_LabelToInclude: |
|
||||||
- rid: 4004697508563124301 |
|
||||||
type: {class: ShaderStrippingSetting, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 0 |
|
||||||
m_ExportShaderVariants: 1 |
|
||||||
m_ShaderVariantLogLevel: 0 |
|
||||||
m_StripRuntimeDebugShaders: 1 |
|
||||||
- rid: 4004697508563124302 |
|
||||||
type: {class: ProbeVolumeRuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime} |
|
||||||
data: |
|
||||||
m_Version: 1 |
|
||||||
probeVolumeBlendStatesCS: {fileID: 7200000, guid: a3f7b8c99de28a94684cb1daebeccf5d, |
|
||||||
type: 3} |
|
||||||
probeVolumeUploadDataCS: {fileID: 7200000, guid: 0951de5992461754fa73650732c4954c, |
|
||||||
type: 3} |
|
||||||
probeVolumeUploadDataL2CS: {fileID: 7200000, guid: 6196f34ed825db14b81fb3eb0ea8d931, |
|
||||||
type: 3} |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 69dff4121b7484885be70422e6f3db1c |
|
||||||
NativeFormatImporter: |
|
||||||
externalObjects: {} |
|
||||||
mainObjectFileID: 11400000 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 0748038d48d9c48fc9f35f5d32dc985a |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1544692068 |
|
||||||
licenseType: Pro |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,24 +0,0 @@ |
|||||||
using UnityEngine; |
|
||||||
|
|
||||||
namespace HighlightPlus.Demos { |
|
||||||
|
|
||||||
public class HitFxDemo : MonoBehaviour { |
|
||||||
|
|
||||||
public AudioClip hitSound; |
|
||||||
|
|
||||||
void Update() { |
|
||||||
|
|
||||||
if (!InputProxy.GetMouseButtonDown(0)) return; |
|
||||||
|
|
||||||
Ray ray = Camera.main.ScreenPointToRay(InputProxy.mousePosition); |
|
||||||
if (Physics.Raycast(ray, out RaycastHit hitInfo)) { |
|
||||||
HighlightEffect effect = hitInfo.collider.GetComponent<HighlightEffect>(); |
|
||||||
if (effect == null) return; |
|
||||||
AudioSource.PlayClipAtPoint(hitSound, hitInfo.point); |
|
||||||
effect.HitFX(hitInfo.point); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,28 +0,0 @@ |
|||||||
using UnityEngine; |
|
||||||
using HighlightPlus; |
|
||||||
|
|
||||||
namespace HighlightPlus.Demos { |
|
||||||
|
|
||||||
public class ManualSelectionDemo : MonoBehaviour { |
|
||||||
|
|
||||||
HighlightManager hm; |
|
||||||
|
|
||||||
public Transform objectToSelect; |
|
||||||
|
|
||||||
void Start() { |
|
||||||
hm = Misc.FindObjectOfType<HighlightManager>(); |
|
||||||
} |
|
||||||
|
|
||||||
void Update() { |
|
||||||
if (Input.GetKeyDown(KeyCode.Alpha1)) { |
|
||||||
hm.SelectObject(objectToSelect); |
|
||||||
} |
|
||||||
if (Input.GetKeyDown(KeyCode.Alpha2)) { |
|
||||||
hm.ToggleObject(objectToSelect); |
|
||||||
} |
|
||||||
if (Input.GetKeyDown(KeyCode.Alpha3)) { |
|
||||||
hm.UnselectObject(objectToSelect); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -1,11 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 9dfa112658ab74560a6251002174910b |
|
||||||
MonoImporter: |
|
||||||
externalObjects: {} |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,40 +0,0 @@ |
|||||||
using UnityEngine; |
|
||||||
using HighlightPlus; |
|
||||||
|
|
||||||
namespace HighlightPlus.Demos { |
|
||||||
|
|
||||||
public class SphereHighlightEventExample : MonoBehaviour { |
|
||||||
|
|
||||||
HighlightEffect effect; |
|
||||||
|
|
||||||
void Start() { |
|
||||||
effect = GetComponent<HighlightEffect> (); |
|
||||||
effect.OnObjectHighlightStart += ValidateHighlightObject; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
bool ValidateHighlightObject(GameObject obj) { |
|
||||||
// You can return false to cancel highlight on this object |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
void HighlightStart () { |
|
||||||
Debug.Log ("Gold sphere highlighted!"); |
|
||||||
} |
|
||||||
|
|
||||||
void HighlightEnd () { |
|
||||||
Debug.Log ("Gold sphere not highlighted!"); |
|
||||||
} |
|
||||||
|
|
||||||
void Update() { |
|
||||||
if (InputProxy.GetKeyDown ("space")) { |
|
||||||
effect.HitFX (Color.white, 0.2f); |
|
||||||
} |
|
||||||
if (InputProxy.GetKeyDown("c")) { |
|
||||||
effect.SetGlowColor(new Color(Random.value, Random.value, Random.value)); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 36aa3934b8f65413188fabe723ded4da |
|
||||||
timeCreated: 1544692056 |
|
||||||
licenseType: Pro |
|
||||||
MonoImporter: |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,26 +0,0 @@ |
|||||||
using UnityEngine; |
|
||||||
using HighlightPlus; |
|
||||||
|
|
||||||
namespace HighlightPlus.Demos { |
|
||||||
|
|
||||||
public class SphereSelectionEventsExample : MonoBehaviour { |
|
||||||
|
|
||||||
void Start() { |
|
||||||
HighlightManager.instance.OnObjectSelected += OnObjectSelected; |
|
||||||
HighlightManager.instance.OnObjectUnSelected += OnObjectUnSelected; |
|
||||||
} |
|
||||||
|
|
||||||
bool OnObjectSelected(GameObject go) { |
|
||||||
Debug.Log(go.name + " selected!"); |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
bool OnObjectUnSelected(GameObject go) { |
|
||||||
Debug.Log(go.name + " un-selected!"); |
|
||||||
return true; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,11 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: dbe1fcf5ef14345779fec3adb4479bc3 |
|
||||||
MonoImporter: |
|
||||||
externalObjects: {} |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,22 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 9c2f7decce97e409a8ecfc1181535dc2 |
|
||||||
AudioImporter: |
|
||||||
externalObjects: {} |
|
||||||
serializedVersion: 6 |
|
||||||
defaultSettings: |
|
||||||
loadType: 0 |
|
||||||
sampleRateSetting: 0 |
|
||||||
sampleRateOverride: 44100 |
|
||||||
compressionFormat: 1 |
|
||||||
quality: 1 |
|
||||||
conversionMode: 0 |
|
||||||
platformSettingOverrides: {} |
|
||||||
forceToMono: 0 |
|
||||||
normalize: 1 |
|
||||||
preloadAudioData: 1 |
|
||||||
loadInBackground: 0 |
|
||||||
ambisonic: 0 |
|
||||||
3D: 1 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 13783dcd57d4d4977b6fa46c1be6a21d |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1542901861 |
|
||||||
licenseType: Pro |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 1.5 MiB |
@ -1,68 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 13ea04b5d27644ccba761e09947624da |
|
||||||
timeCreated: 1542918613 |
|
||||||
licenseType: Pro |
|
||||||
TextureImporter: |
|
||||||
fileIDToRecycleName: {} |
|
||||||
serializedVersion: 4 |
|
||||||
mipmaps: |
|
||||||
mipMapMode: 0 |
|
||||||
enableMipMap: 1 |
|
||||||
sRGBTexture: 1 |
|
||||||
linearTexture: 0 |
|
||||||
fadeOut: 0 |
|
||||||
borderMipMap: 0 |
|
||||||
mipMapFadeDistanceStart: 1 |
|
||||||
mipMapFadeDistanceEnd: 3 |
|
||||||
bumpmap: |
|
||||||
convertToNormalMap: 0 |
|
||||||
externalNormalMap: 0 |
|
||||||
heightScale: 0.25 |
|
||||||
normalMapFilter: 0 |
|
||||||
isReadable: 0 |
|
||||||
grayScaleToAlpha: 0 |
|
||||||
generateCubemap: 6 |
|
||||||
cubemapConvolution: 0 |
|
||||||
seamlessCubemap: 0 |
|
||||||
textureFormat: 1 |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureSettings: |
|
||||||
filterMode: -1 |
|
||||||
aniso: -1 |
|
||||||
mipBias: -1 |
|
||||||
wrapMode: -1 |
|
||||||
nPOTScale: 1 |
|
||||||
lightmap: 0 |
|
||||||
compressionQuality: 50 |
|
||||||
spriteMode: 0 |
|
||||||
spriteExtrude: 1 |
|
||||||
spriteMeshType: 1 |
|
||||||
alignment: 0 |
|
||||||
spritePivot: {x: 0.5, y: 0.5} |
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
spritePixelsToUnits: 100 |
|
||||||
alphaUsage: 1 |
|
||||||
alphaIsTransparency: 0 |
|
||||||
spriteTessellationDetail: -1 |
|
||||||
textureType: 0 |
|
||||||
textureShape: 1 |
|
||||||
maxTextureSizeSet: 0 |
|
||||||
compressionQualitySet: 0 |
|
||||||
textureFormatSet: 0 |
|
||||||
platformSettings: |
|
||||||
- buildTarget: DefaultTexturePlatform |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
spriteSheet: |
|
||||||
serializedVersion: 2 |
|
||||||
sprites: [] |
|
||||||
outline: [] |
|
||||||
spritePackingTag: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 1.0 MiB |
@ -1,68 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: d398536e88a354ed3b3825173a7e092a |
|
||||||
timeCreated: 1542918925 |
|
||||||
licenseType: Pro |
|
||||||
TextureImporter: |
|
||||||
fileIDToRecycleName: {} |
|
||||||
serializedVersion: 4 |
|
||||||
mipmaps: |
|
||||||
mipMapMode: 0 |
|
||||||
enableMipMap: 1 |
|
||||||
sRGBTexture: 0 |
|
||||||
linearTexture: 0 |
|
||||||
fadeOut: 0 |
|
||||||
borderMipMap: 0 |
|
||||||
mipMapFadeDistanceStart: 1 |
|
||||||
mipMapFadeDistanceEnd: 3 |
|
||||||
bumpmap: |
|
||||||
convertToNormalMap: 0 |
|
||||||
externalNormalMap: 0 |
|
||||||
heightScale: 0.25 |
|
||||||
normalMapFilter: 0 |
|
||||||
isReadable: 0 |
|
||||||
grayScaleToAlpha: 0 |
|
||||||
generateCubemap: 6 |
|
||||||
cubemapConvolution: 0 |
|
||||||
seamlessCubemap: 0 |
|
||||||
textureFormat: 1 |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureSettings: |
|
||||||
filterMode: -1 |
|
||||||
aniso: -1 |
|
||||||
mipBias: -1 |
|
||||||
wrapMode: -1 |
|
||||||
nPOTScale: 1 |
|
||||||
lightmap: 0 |
|
||||||
compressionQuality: 50 |
|
||||||
spriteMode: 0 |
|
||||||
spriteExtrude: 1 |
|
||||||
spriteMeshType: 1 |
|
||||||
alignment: 0 |
|
||||||
spritePivot: {x: 0.5, y: 0.5} |
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
spritePixelsToUnits: 100 |
|
||||||
alphaUsage: 1 |
|
||||||
alphaIsTransparency: 0 |
|
||||||
spriteTessellationDetail: -1 |
|
||||||
textureType: 1 |
|
||||||
textureShape: 1 |
|
||||||
maxTextureSizeSet: 0 |
|
||||||
compressionQualitySet: 0 |
|
||||||
textureFormatSet: 0 |
|
||||||
platformSettings: |
|
||||||
- buildTarget: DefaultTexturePlatform |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
spriteSheet: |
|
||||||
serializedVersion: 2 |
|
||||||
sprites: [] |
|
||||||
outline: [] |
|
||||||
spritePackingTag: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 59 KiB |
@ -1,92 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: aeb7aff1c8c1241ee8bfdfc05e9a9e92 |
|
||||||
TextureImporter: |
|
||||||
internalIDToNameTable: [] |
|
||||||
externalObjects: {} |
|
||||||
serializedVersion: 11 |
|
||||||
mipmaps: |
|
||||||
mipMapMode: 0 |
|
||||||
enableMipMap: 1 |
|
||||||
sRGBTexture: 1 |
|
||||||
linearTexture: 0 |
|
||||||
fadeOut: 0 |
|
||||||
borderMipMap: 0 |
|
||||||
mipMapsPreserveCoverage: 0 |
|
||||||
alphaTestReferenceValue: 0.5 |
|
||||||
mipMapFadeDistanceStart: 1 |
|
||||||
mipMapFadeDistanceEnd: 3 |
|
||||||
bumpmap: |
|
||||||
convertToNormalMap: 0 |
|
||||||
externalNormalMap: 0 |
|
||||||
heightScale: 0.25 |
|
||||||
normalMapFilter: 0 |
|
||||||
isReadable: 0 |
|
||||||
streamingMipmaps: 0 |
|
||||||
streamingMipmapsPriority: 0 |
|
||||||
grayScaleToAlpha: 0 |
|
||||||
generateCubemap: 6 |
|
||||||
cubemapConvolution: 0 |
|
||||||
seamlessCubemap: 0 |
|
||||||
textureFormat: 1 |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureSettings: |
|
||||||
serializedVersion: 2 |
|
||||||
filterMode: -1 |
|
||||||
aniso: -1 |
|
||||||
mipBias: -100 |
|
||||||
wrapU: -1 |
|
||||||
wrapV: -1 |
|
||||||
wrapW: -1 |
|
||||||
nPOTScale: 1 |
|
||||||
lightmap: 0 |
|
||||||
compressionQuality: 50 |
|
||||||
spriteMode: 0 |
|
||||||
spriteExtrude: 1 |
|
||||||
spriteMeshType: 1 |
|
||||||
alignment: 0 |
|
||||||
spritePivot: {x: 0.5, y: 0.5} |
|
||||||
spritePixelsToUnits: 100 |
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
spriteGenerateFallbackPhysicsShape: 1 |
|
||||||
alphaUsage: 1 |
|
||||||
alphaIsTransparency: 0 |
|
||||||
spriteTessellationDetail: -1 |
|
||||||
textureType: 0 |
|
||||||
textureShape: 1 |
|
||||||
singleChannelComponent: 0 |
|
||||||
maxTextureSizeSet: 0 |
|
||||||
compressionQualitySet: 0 |
|
||||||
textureFormatSet: 0 |
|
||||||
applyGammaDecoding: 0 |
|
||||||
platformSettings: |
|
||||||
- serializedVersion: 3 |
|
||||||
buildTarget: DefaultTexturePlatform |
|
||||||
maxTextureSize: 2048 |
|
||||||
resizeAlgorithm: 0 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
androidETC2FallbackOverride: 0 |
|
||||||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|
||||||
spriteSheet: |
|
||||||
serializedVersion: 2 |
|
||||||
sprites: [] |
|
||||||
outline: [] |
|
||||||
physicsShape: [] |
|
||||||
bones: [] |
|
||||||
spriteID: |
|
||||||
internalID: 0 |
|
||||||
vertices: [] |
|
||||||
indices: |
|
||||||
edges: [] |
|
||||||
weights: [] |
|
||||||
secondaryTextures: [] |
|
||||||
spritePackingTag: |
|
||||||
pSDRemoveMatte: 0 |
|
||||||
pSDShowRemoveMatteOption: 0 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 730 KiB |
@ -1,68 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 2fb008ff4214b4130a4f33cb385b6fa6 |
|
||||||
timeCreated: 1542918613 |
|
||||||
licenseType: Pro |
|
||||||
TextureImporter: |
|
||||||
fileIDToRecycleName: {} |
|
||||||
serializedVersion: 4 |
|
||||||
mipmaps: |
|
||||||
mipMapMode: 0 |
|
||||||
enableMipMap: 1 |
|
||||||
sRGBTexture: 1 |
|
||||||
linearTexture: 0 |
|
||||||
fadeOut: 0 |
|
||||||
borderMipMap: 0 |
|
||||||
mipMapFadeDistanceStart: 1 |
|
||||||
mipMapFadeDistanceEnd: 3 |
|
||||||
bumpmap: |
|
||||||
convertToNormalMap: 0 |
|
||||||
externalNormalMap: 0 |
|
||||||
heightScale: 0.25 |
|
||||||
normalMapFilter: 0 |
|
||||||
isReadable: 0 |
|
||||||
grayScaleToAlpha: 0 |
|
||||||
generateCubemap: 6 |
|
||||||
cubemapConvolution: 0 |
|
||||||
seamlessCubemap: 0 |
|
||||||
textureFormat: 1 |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureSettings: |
|
||||||
filterMode: -1 |
|
||||||
aniso: -1 |
|
||||||
mipBias: -1 |
|
||||||
wrapMode: -1 |
|
||||||
nPOTScale: 1 |
|
||||||
lightmap: 0 |
|
||||||
compressionQuality: 50 |
|
||||||
spriteMode: 0 |
|
||||||
spriteExtrude: 1 |
|
||||||
spriteMeshType: 1 |
|
||||||
alignment: 0 |
|
||||||
spritePivot: {x: 0.5, y: 0.5} |
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
spritePixelsToUnits: 100 |
|
||||||
alphaUsage: 1 |
|
||||||
alphaIsTransparency: 0 |
|
||||||
spriteTessellationDetail: -1 |
|
||||||
textureType: 0 |
|
||||||
textureShape: 1 |
|
||||||
maxTextureSizeSet: 0 |
|
||||||
compressionQualitySet: 0 |
|
||||||
textureFormatSet: 0 |
|
||||||
platformSettings: |
|
||||||
- buildTarget: DefaultTexturePlatform |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
spriteSheet: |
|
||||||
serializedVersion: 2 |
|
||||||
sprites: [] |
|
||||||
outline: [] |
|
||||||
spritePackingTag: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 1.8 MiB |
@ -1,68 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: ebcd1fde239ed44bc808f7c571d8a6a9 |
|
||||||
timeCreated: 1542918741 |
|
||||||
licenseType: Pro |
|
||||||
TextureImporter: |
|
||||||
fileIDToRecycleName: {} |
|
||||||
serializedVersion: 4 |
|
||||||
mipmaps: |
|
||||||
mipMapMode: 0 |
|
||||||
enableMipMap: 1 |
|
||||||
sRGBTexture: 0 |
|
||||||
linearTexture: 0 |
|
||||||
fadeOut: 0 |
|
||||||
borderMipMap: 0 |
|
||||||
mipMapFadeDistanceStart: 1 |
|
||||||
mipMapFadeDistanceEnd: 3 |
|
||||||
bumpmap: |
|
||||||
convertToNormalMap: 0 |
|
||||||
externalNormalMap: 0 |
|
||||||
heightScale: 0.25 |
|
||||||
normalMapFilter: 0 |
|
||||||
isReadable: 0 |
|
||||||
grayScaleToAlpha: 0 |
|
||||||
generateCubemap: 6 |
|
||||||
cubemapConvolution: 0 |
|
||||||
seamlessCubemap: 0 |
|
||||||
textureFormat: 1 |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureSettings: |
|
||||||
filterMode: -1 |
|
||||||
aniso: -1 |
|
||||||
mipBias: -1 |
|
||||||
wrapMode: -1 |
|
||||||
nPOTScale: 1 |
|
||||||
lightmap: 0 |
|
||||||
compressionQuality: 50 |
|
||||||
spriteMode: 0 |
|
||||||
spriteExtrude: 1 |
|
||||||
spriteMeshType: 1 |
|
||||||
alignment: 0 |
|
||||||
spritePivot: {x: 0.5, y: 0.5} |
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
spritePixelsToUnits: 100 |
|
||||||
alphaUsage: 1 |
|
||||||
alphaIsTransparency: 0 |
|
||||||
spriteTessellationDetail: -1 |
|
||||||
textureType: 1 |
|
||||||
textureShape: 1 |
|
||||||
maxTextureSizeSet: 0 |
|
||||||
compressionQualitySet: 0 |
|
||||||
textureFormatSet: 0 |
|
||||||
platformSettings: |
|
||||||
- buildTarget: DefaultTexturePlatform |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
spriteSheet: |
|
||||||
serializedVersion: 2 |
|
||||||
sprites: [] |
|
||||||
outline: [] |
|
||||||
spritePackingTag: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 989 KiB |
@ -1,68 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 4c5aaebe522004ddfbf0da83b147e635 |
|
||||||
timeCreated: 1542918717 |
|
||||||
licenseType: Pro |
|
||||||
TextureImporter: |
|
||||||
fileIDToRecycleName: {} |
|
||||||
serializedVersion: 4 |
|
||||||
mipmaps: |
|
||||||
mipMapMode: 0 |
|
||||||
enableMipMap: 1 |
|
||||||
sRGBTexture: 0 |
|
||||||
linearTexture: 0 |
|
||||||
fadeOut: 0 |
|
||||||
borderMipMap: 0 |
|
||||||
mipMapFadeDistanceStart: 1 |
|
||||||
mipMapFadeDistanceEnd: 3 |
|
||||||
bumpmap: |
|
||||||
convertToNormalMap: 0 |
|
||||||
externalNormalMap: 0 |
|
||||||
heightScale: 0.25 |
|
||||||
normalMapFilter: 0 |
|
||||||
isReadable: 0 |
|
||||||
grayScaleToAlpha: 0 |
|
||||||
generateCubemap: 6 |
|
||||||
cubemapConvolution: 0 |
|
||||||
seamlessCubemap: 0 |
|
||||||
textureFormat: 1 |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureSettings: |
|
||||||
filterMode: -1 |
|
||||||
aniso: -1 |
|
||||||
mipBias: -1 |
|
||||||
wrapMode: -1 |
|
||||||
nPOTScale: 1 |
|
||||||
lightmap: 0 |
|
||||||
compressionQuality: 50 |
|
||||||
spriteMode: 0 |
|
||||||
spriteExtrude: 1 |
|
||||||
spriteMeshType: 1 |
|
||||||
alignment: 0 |
|
||||||
spritePivot: {x: 0.5, y: 0.5} |
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
spritePixelsToUnits: 100 |
|
||||||
alphaUsage: 1 |
|
||||||
alphaIsTransparency: 0 |
|
||||||
spriteTessellationDetail: -1 |
|
||||||
textureType: 1 |
|
||||||
textureShape: 1 |
|
||||||
maxTextureSizeSet: 0 |
|
||||||
compressionQualitySet: 0 |
|
||||||
textureFormatSet: 0 |
|
||||||
platformSettings: |
|
||||||
- buildTarget: DefaultTexturePlatform |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
spriteSheet: |
|
||||||
serializedVersion: 2 |
|
||||||
sprites: [] |
|
||||||
outline: [] |
|
||||||
spritePackingTag: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
Before Width: | Height: | Size: 2.2 MiB |
@ -1,68 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: dc645ec4f4eba40dd8f0e8b0c21b99b0 |
|
||||||
timeCreated: 1542918615 |
|
||||||
licenseType: Pro |
|
||||||
TextureImporter: |
|
||||||
fileIDToRecycleName: {} |
|
||||||
serializedVersion: 4 |
|
||||||
mipmaps: |
|
||||||
mipMapMode: 0 |
|
||||||
enableMipMap: 1 |
|
||||||
sRGBTexture: 1 |
|
||||||
linearTexture: 0 |
|
||||||
fadeOut: 0 |
|
||||||
borderMipMap: 0 |
|
||||||
mipMapFadeDistanceStart: 1 |
|
||||||
mipMapFadeDistanceEnd: 3 |
|
||||||
bumpmap: |
|
||||||
convertToNormalMap: 0 |
|
||||||
externalNormalMap: 0 |
|
||||||
heightScale: 0.25 |
|
||||||
normalMapFilter: 0 |
|
||||||
isReadable: 0 |
|
||||||
grayScaleToAlpha: 0 |
|
||||||
generateCubemap: 6 |
|
||||||
cubemapConvolution: 0 |
|
||||||
seamlessCubemap: 0 |
|
||||||
textureFormat: 1 |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureSettings: |
|
||||||
filterMode: -1 |
|
||||||
aniso: -1 |
|
||||||
mipBias: -1 |
|
||||||
wrapMode: -1 |
|
||||||
nPOTScale: 1 |
|
||||||
lightmap: 0 |
|
||||||
compressionQuality: 50 |
|
||||||
spriteMode: 0 |
|
||||||
spriteExtrude: 1 |
|
||||||
spriteMeshType: 1 |
|
||||||
alignment: 0 |
|
||||||
spritePivot: {x: 0.5, y: 0.5} |
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
|
||||||
spritePixelsToUnits: 100 |
|
||||||
alphaUsage: 1 |
|
||||||
alphaIsTransparency: 0 |
|
||||||
spriteTessellationDetail: -1 |
|
||||||
textureType: 0 |
|
||||||
textureShape: 1 |
|
||||||
maxTextureSizeSet: 0 |
|
||||||
compressionQualitySet: 0 |
|
||||||
textureFormatSet: 0 |
|
||||||
platformSettings: |
|
||||||
- buildTarget: DefaultTexturePlatform |
|
||||||
maxTextureSize: 2048 |
|
||||||
textureFormat: -1 |
|
||||||
textureCompression: 1 |
|
||||||
compressionQuality: 50 |
|
||||||
crunchedCompression: 0 |
|
||||||
allowsAlphaSplitting: 0 |
|
||||||
overridden: 0 |
|
||||||
spriteSheet: |
|
||||||
serializedVersion: 2 |
|
||||||
sprites: [] |
|
||||||
outline: [] |
|
||||||
spritePackingTag: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,2 +0,0 @@ |
|||||||
[InternetShortcut] |
|
||||||
URL=https://kronnect.com/guides/highlight-plus-introduction/ |
|
@ -1,2 +0,0 @@ |
|||||||
[InternetShortcut] |
|
||||||
URL=https://www.dropbox.com/s/4nx9pv977wvvrv8/Documentation.pdf?dl=0 |
|
@ -1,7 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 782ce379ea1624a349b1c53de1f90c95 |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,9 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: c1cfaabf0583f44b4871807a898aaf31 |
|
||||||
folderAsset: yes |
|
||||||
timeCreated: 1542886534 |
|
||||||
licenseType: Store |
|
||||||
DefaultImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,765 +0,0 @@ |
|||||||
using System.Collections.Generic; |
|
||||||
using UnityEditor; |
|
||||||
using UnityEngine; |
|
||||||
using UnityEngine.Rendering; |
|
||||||
using UnityEngine.Rendering.Universal; |
|
||||||
|
|
||||||
namespace HighlightPlus { |
|
||||||
|
|
||||||
[CustomEditor(typeof(HighlightEffect))] |
|
||||||
[CanEditMultipleObjects] |
|
||||||
public class HighlightEffectEditor : Editor { |
|
||||||
|
|
||||||
#pragma warning disable 0618 |
|
||||||
|
|
||||||
SerializedProperty profile, profileSync, camerasLayerMask, ignoreObjectVisibility, reflectionProbes, GPUInstancing, optimizeSkinnedMesh; |
|
||||||
SerializedProperty ignore, effectGroup, effectGroupLayer, effectNameFilter, effectNameUseRegEx, combineMeshes, alphaCutOff, cullBackFaces, normalsOption; |
|
||||||
SerializedProperty highlighted, fadeInDuration, fadeOutDuration, flipY, constantWidth, subMeshMask; |
|
||||||
SerializedProperty overlay, overlayMode, overlayColor, overlayAnimationSpeed, overlayMinIntensity, overlayBlending, overlayTexture, overlayTextureUVSpace, overlayTextureScale, overlayTextureScrolling, overlayVisibility; |
|
||||||
SerializedProperty outline, outlineColor, outlineColorStyle, outlineGradient, outlineGradientInLocalSpace, outlineBlurPasses, outlineWidth, outlineQuality, outlineEdgeMode, outlineEdgeThreshold, outlineSharpness; |
|
||||||
SerializedProperty outlineDownsampling, outlineVisibility, outlineBlitDebug, outlineIndependent, outlineContourStyle, outlineMaskMode; |
|
||||||
SerializedProperty glow, glowWidth, glowQuality, glowBlurMethod, glowDownsampling, glowHQColor, glowDithering, glowDitheringStyle, glowMagicNumber1, glowMagicNumber2, glowAnimationSpeed; |
|
||||||
SerializedProperty glowBlendPasses, glowPasses, glowVisibility, glowBlendMode, glowBlitDebug, glowMaskMode; |
|
||||||
SerializedProperty innerGlow, innerGlowWidth, innerGlowColor, innerGlowBlendMode, innerGlowVisibility; |
|
||||||
SerializedProperty seeThrough, seeThroughOccluderMask, seeThroughOccluderMaskAccurate, seeThroughOccluderThreshold, seeThroughOccluderCheckInterval, seeThroughOccluderCheckIndividualObjects, seeThroughDepthOffset, seeThroughMaxDepth; |
|
||||||
SerializedProperty seeThroughIntensity, seeThroughTintAlpha, seeThroughTintColor, seeThroughNoise, seeThroughBorder, seeThroughBorderWidth, seeThroughBorderColor, seeThroughOrdered, seeThroughBorderOnly, seeThroughTexture, seeThroughTextureUVSpace, seeThroughTextureScale, seeThroughChildrenSortingMode; |
|
||||||
SerializedProperty targetFX, targetFXTexture, targetFXColor, targetFXCenter, targetFXRotationSpeed, targetFXInitialScale, targetFXEndScale, targetFXScaleToRenderBounds, targetFXUseEnclosingBounds, targetFXOffset; |
|
||||||
SerializedProperty targetFXAlignToGround, targetFXFadePower, targetFXGroundMaxDistance, targetFXGroundLayerMask, targetFXTransitionDuration, targetFXStayDuration, targetFXVisibility; |
|
||||||
SerializedProperty hitFxInitialIntensity, hitFxMode, hitFxFadeOutDuration, hitFxColor, hitFxRadius; |
|
||||||
SerializedProperty cameraDistanceFade, cameraDistanceFadeNear, cameraDistanceFadeFar; |
|
||||||
HighlightEffect thisEffect; |
|
||||||
bool profileChanged, enableProfileApply; |
|
||||||
|
|
||||||
UniversalRenderPipelineAsset pipe; |
|
||||||
bool expandGeneralSettings, expandHighlightOptions; |
|
||||||
bool showCurrentOccluders; |
|
||||||
const string HP_GENERAL_SETTINGS = "HPGeneralSettings"; |
|
||||||
const string HP_HIGHLIGHT_OPTIONS = "HPHighlightOptions"; |
|
||||||
GUIStyle foldoutBold; |
|
||||||
|
|
||||||
void OnEnable() { |
|
||||||
expandGeneralSettings = EditorPrefs.GetBool("HPGeneralSettings", true); |
|
||||||
expandHighlightOptions = EditorPrefs.GetBool("HPHighlightOptions", true); |
|
||||||
|
|
||||||
profile = serializedObject.FindProperty("profile"); |
|
||||||
profileSync = serializedObject.FindProperty("profileSync"); |
|
||||||
camerasLayerMask = serializedObject.FindProperty("camerasLayerMask"); |
|
||||||
ignoreObjectVisibility = serializedObject.FindProperty("ignoreObjectVisibility"); |
|
||||||
reflectionProbes = serializedObject.FindProperty("reflectionProbes"); |
|
||||||
optimizeSkinnedMesh = serializedObject.FindProperty("optimizeSkinnedMesh"); |
|
||||||
normalsOption = serializedObject.FindProperty("normalsOption"); |
|
||||||
GPUInstancing = serializedObject.FindProperty("GPUInstancing"); |
|
||||||
ignore = serializedObject.FindProperty("ignore"); |
|
||||||
effectGroup = serializedObject.FindProperty("effectGroup"); |
|
||||||
effectGroupLayer = serializedObject.FindProperty("effectGroupLayer"); |
|
||||||
effectNameFilter = serializedObject.FindProperty("effectNameFilter"); |
|
||||||
effectNameUseRegEx = serializedObject.FindProperty("effectNameUseRegEx"); |
|
||||||
combineMeshes = serializedObject.FindProperty("combineMeshes"); |
|
||||||
alphaCutOff = serializedObject.FindProperty("alphaCutOff"); |
|
||||||
cullBackFaces = serializedObject.FindProperty("cullBackFaces"); |
|
||||||
highlighted = serializedObject.FindProperty("_highlighted"); |
|
||||||
fadeInDuration = serializedObject.FindProperty("fadeInDuration"); |
|
||||||
fadeOutDuration = serializedObject.FindProperty("fadeOutDuration"); |
|
||||||
flipY = serializedObject.FindProperty("flipY"); |
|
||||||
constantWidth = serializedObject.FindProperty("constantWidth"); |
|
||||||
subMeshMask = serializedObject.FindProperty("subMeshMask"); |
|
||||||
overlay = serializedObject.FindProperty("overlay"); |
|
||||||
overlayMode = serializedObject.FindProperty("overlayMode"); |
|
||||||
overlayColor = serializedObject.FindProperty("overlayColor"); |
|
||||||
overlayAnimationSpeed = serializedObject.FindProperty("overlayAnimationSpeed"); |
|
||||||
overlayMinIntensity = serializedObject.FindProperty("overlayMinIntensity"); |
|
||||||
overlayBlending = serializedObject.FindProperty("overlayBlending"); |
|
||||||
overlayTexture = serializedObject.FindProperty("overlayTexture"); |
|
||||||
overlayTextureUVSpace = serializedObject.FindProperty("overlayTextureUVSpace"); |
|
||||||
overlayTextureScale = serializedObject.FindProperty("overlayTextureScale"); |
|
||||||
overlayTextureScrolling = serializedObject.FindProperty("overlayTextureScrolling"); |
|
||||||
overlayVisibility = serializedObject.FindProperty("overlayVisibility"); |
|
||||||
outline = serializedObject.FindProperty("outline"); |
|
||||||
outlineColor = serializedObject.FindProperty("outlineColor"); |
|
||||||
outlineColorStyle = serializedObject.FindProperty("outlineColorStyle"); |
|
||||||
outlineGradient = serializedObject.FindProperty("outlineGradient"); |
|
||||||
outlineGradientInLocalSpace = serializedObject.FindProperty("outlineGradientInLocalSpace"); |
|
||||||
outlineWidth = serializedObject.FindProperty("outlineWidth"); |
|
||||||
outlineBlurPasses = serializedObject.FindProperty("outlineBlurPasses"); |
|
||||||
outlineQuality = serializedObject.FindProperty("outlineQuality"); |
|
||||||
outlineEdgeMode = serializedObject.FindProperty("outlineEdgeMode"); |
|
||||||
outlineEdgeThreshold = serializedObject.FindProperty("outlineEdgeThreshold"); |
|
||||||
outlineSharpness = serializedObject.FindProperty("outlineSharpness"); |
|
||||||
outlineDownsampling = serializedObject.FindProperty("outlineDownsampling"); |
|
||||||
outlineVisibility = serializedObject.FindProperty("outlineVisibility"); |
|
||||||
outlineBlitDebug = serializedObject.FindProperty("outlineBlitDebug"); |
|
||||||
outlineIndependent = serializedObject.FindProperty("outlineIndependent"); |
|
||||||
outlineContourStyle = serializedObject.FindProperty("outlineContourStyle"); |
|
||||||
outlineMaskMode = serializedObject.FindProperty("outlineMaskMode"); |
|
||||||
glow = serializedObject.FindProperty("glow"); |
|
||||||
glowWidth = serializedObject.FindProperty("glowWidth"); |
|
||||||
glowQuality = serializedObject.FindProperty("glowQuality"); |
|
||||||
glowBlurMethod = serializedObject.FindProperty("glowBlurMethod"); |
|
||||||
glowHQColor = serializedObject.FindProperty("glowHQColor"); |
|
||||||
glowAnimationSpeed = serializedObject.FindProperty("glowAnimationSpeed"); |
|
||||||
glowBlendPasses = serializedObject.FindProperty("glowBlendPasses"); |
|
||||||
glowDithering = serializedObject.FindProperty("glowDithering"); |
|
||||||
glowDitheringStyle = serializedObject.FindProperty("glowDitheringStyle"); |
|
||||||
glowMagicNumber1 = serializedObject.FindProperty("glowMagicNumber1"); |
|
||||||
glowMagicNumber2 = serializedObject.FindProperty("glowMagicNumber2"); |
|
||||||
glowAnimationSpeed = serializedObject.FindProperty("glowAnimationSpeed"); |
|
||||||
glowPasses = serializedObject.FindProperty("glowPasses"); |
|
||||||
glowVisibility = serializedObject.FindProperty("glowVisibility"); |
|
||||||
glowBlendMode = serializedObject.FindProperty("glowBlendMode"); |
|
||||||
glowBlitDebug = serializedObject.FindProperty("glowBlitDebug"); |
|
||||||
glowMaskMode = serializedObject.FindProperty("glowMaskMode"); |
|
||||||
glowDownsampling = serializedObject.FindProperty("glowDownsampling"); |
|
||||||
innerGlow = serializedObject.FindProperty("innerGlow"); |
|
||||||
innerGlowColor = serializedObject.FindProperty("innerGlowColor"); |
|
||||||
innerGlowWidth = serializedObject.FindProperty("innerGlowWidth"); |
|
||||||
innerGlowBlendMode = serializedObject.FindProperty("innerGlowBlendMode"); |
|
||||||
innerGlowVisibility = serializedObject.FindProperty("innerGlowVisibility"); |
|
||||||
seeThrough = serializedObject.FindProperty("seeThrough"); |
|
||||||
seeThroughOccluderMask = serializedObject.FindProperty("seeThroughOccluderMask"); |
|
||||||
seeThroughOccluderMaskAccurate = serializedObject.FindProperty("seeThroughOccluderMaskAccurate"); |
|
||||||
seeThroughOccluderThreshold = serializedObject.FindProperty("seeThroughOccluderThreshold"); |
|
||||||
seeThroughOccluderCheckInterval = serializedObject.FindProperty("seeThroughOccluderCheckInterval"); |
|
||||||
seeThroughOccluderCheckIndividualObjects = serializedObject.FindProperty("seeThroughOccluderCheckIndividualObjects"); |
|
||||||
seeThroughDepthOffset = serializedObject.FindProperty("seeThroughDepthOffset"); |
|
||||||
seeThroughMaxDepth = serializedObject.FindProperty("seeThroughMaxDepth"); |
|
||||||
seeThroughIntensity = serializedObject.FindProperty("seeThroughIntensity"); |
|
||||||
seeThroughTintAlpha = serializedObject.FindProperty("seeThroughTintAlpha"); |
|
||||||
seeThroughTintColor = serializedObject.FindProperty("seeThroughTintColor"); |
|
||||||
seeThroughNoise = serializedObject.FindProperty("seeThroughNoise"); |
|
||||||
seeThroughBorder = serializedObject.FindProperty("seeThroughBorder"); |
|
||||||
seeThroughBorderWidth = serializedObject.FindProperty("seeThroughBorderWidth"); |
|
||||||
seeThroughBorderColor = serializedObject.FindProperty("seeThroughBorderColor"); |
|
||||||
seeThroughOrdered = serializedObject.FindProperty("seeThroughOrdered"); |
|
||||||
seeThroughBorderOnly = serializedObject.FindProperty("seeThroughBorderOnly"); |
|
||||||
seeThroughTexture = serializedObject.FindProperty("seeThroughTexture"); |
|
||||||
seeThroughTextureScale = serializedObject.FindProperty("seeThroughTextureScale"); |
|
||||||
seeThroughTextureUVSpace = serializedObject.FindProperty("seeThroughTextureUVSpace"); |
|
||||||
seeThroughChildrenSortingMode = serializedObject.FindProperty("seeThroughChildrenSortingMode"); |
|
||||||
targetFX = serializedObject.FindProperty("targetFX"); |
|
||||||
targetFXTexture = serializedObject.FindProperty("targetFXTexture"); |
|
||||||
targetFXRotationSpeed = serializedObject.FindProperty("targetFXRotationSpeed"); |
|
||||||
targetFXInitialScale = serializedObject.FindProperty("targetFXInitialScale"); |
|
||||||
targetFXEndScale = serializedObject.FindProperty("targetFXEndScale"); |
|
||||||
targetFXScaleToRenderBounds = serializedObject.FindProperty("targetFXScaleToRenderBounds"); |
|
||||||
targetFXUseEnclosingBounds = serializedObject.FindProperty("targetFXUseEnclosingBounds"); |
|
||||||
targetFXOffset = serializedObject.FindProperty("targetFXOffset"); |
|
||||||
targetFXAlignToGround = serializedObject.FindProperty("targetFXAlignToGround"); |
|
||||||
targetFXFadePower = serializedObject.FindProperty("targetFXFadePower"); |
|
||||||
targetFXGroundMaxDistance = serializedObject.FindProperty("targetFXGroundMaxDistance"); |
|
||||||
targetFXGroundLayerMask = serializedObject.FindProperty("targetFXGroundLayerMask"); |
|
||||||
targetFXColor = serializedObject.FindProperty("targetFXColor"); |
|
||||||
targetFXCenter = serializedObject.FindProperty("targetFXCenter"); |
|
||||||
targetFXTransitionDuration = serializedObject.FindProperty("targetFXTransitionDuration"); |
|
||||||
targetFXStayDuration = serializedObject.FindProperty("targetFXStayDuration"); |
|
||||||
targetFXVisibility = serializedObject.FindProperty("targetFXVisibility"); |
|
||||||
hitFxInitialIntensity = serializedObject.FindProperty("hitFxInitialIntensity"); |
|
||||||
hitFxMode = serializedObject.FindProperty("hitFxMode"); |
|
||||||
hitFxFadeOutDuration = serializedObject.FindProperty("hitFxFadeOutDuration"); |
|
||||||
hitFxColor = serializedObject.FindProperty("hitFxColor"); |
|
||||||
hitFxRadius = serializedObject.FindProperty("hitFxRadius"); |
|
||||||
cameraDistanceFade = serializedObject.FindProperty("cameraDistanceFade"); |
|
||||||
cameraDistanceFadeNear = serializedObject.FindProperty("cameraDistanceFadeNear"); |
|
||||||
cameraDistanceFadeFar = serializedObject.FindProperty("cameraDistanceFadeFar"); |
|
||||||
|
|
||||||
thisEffect = (HighlightEffect)target; |
|
||||||
thisEffect.Refresh(); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
private void OnDisable() { |
|
||||||
EditorPrefs.SetBool(HP_GENERAL_SETTINGS, expandGeneralSettings); |
|
||||||
EditorPrefs.SetBool(HP_HIGHLIGHT_OPTIONS, expandHighlightOptions); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
public override void OnInspectorGUI() { |
|
||||||
|
|
||||||
EditorGUILayout.Separator(); |
|
||||||
|
|
||||||
// URP setup helpers |
|
||||||
pipe = GraphicsSettings.currentRenderPipeline as UniversalRenderPipelineAsset; |
|
||||||
if (pipe == null) { |
|
||||||
EditorGUILayout.HelpBox("You must assign the Universal Rendering Pipeline asset in Project Settings / Graphics. Then, add the Highlight Plus Scriptable Render Feature to the list of Renderer Features of the Forward Renderer.", MessageType.Error); |
|
||||||
if (GUILayout.Button("Watch Setup Video Tutorial")) { |
|
||||||
Application.OpenURL("https://youtu.be/EgyBs8v9aRI"); |
|
||||||
} |
|
||||||
return; |
|
||||||
} |
|
||||||
|
|
||||||
if (!HighlightPlusRenderPassFeature.installed) { |
|
||||||
EditorGUILayout.HelpBox("Highlight Plus Render Feature must be added to the list of features of the Forward Renderer in the Universal Rendering Pipeline asset.", MessageType.Warning); |
|
||||||
if (GUILayout.Button("Watch Setup Video Tutorial")) { |
|
||||||
Application.OpenURL("https://youtu.be/EgyBs8v9aRI"); |
|
||||||
} |
|
||||||
if (GUILayout.Button("Go to Universal Rendering Pipeline Asset")) { |
|
||||||
Selection.activeObject = pipe; |
|
||||||
} |
|
||||||
EditorGUILayout.Separator(); |
|
||||||
} |
|
||||||
|
|
||||||
bool isManager = IsDefaultEffectUsedByManager(); |
|
||||||
serializedObject.Update(); |
|
||||||
|
|
||||||
bool isMeshObject = !thisEffect.spriteMode; |
|
||||||
|
|
||||||
if (foldoutBold == null) { |
|
||||||
foldoutBold = new GUIStyle(EditorStyles.foldout); |
|
||||||
foldoutBold.fontStyle = FontStyle.Bold; |
|
||||||
} |
|
||||||
|
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
HighlightProfile prevProfile = (HighlightProfile)profile.objectReferenceValue; |
|
||||||
EditorGUILayout.PropertyField(profile, new GUIContent("Profile", "Create or load stored presets.")); |
|
||||||
if (profile.objectReferenceValue != null) { |
|
||||||
|
|
||||||
if (prevProfile != profile.objectReferenceValue) { |
|
||||||
profileChanged = true; |
|
||||||
} |
|
||||||
|
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
GUILayout.Label("", GUILayout.Width(EditorGUIUtility.labelWidth)); |
|
||||||
if (GUILayout.Button(new GUIContent("Create", "Creates a new profile which is a copy of the current settings."), GUILayout.Width(60))) { |
|
||||||
CreateProfile(); |
|
||||||
profileChanged = false; |
|
||||||
enableProfileApply = false; |
|
||||||
GUIUtility.ExitGUI(); |
|
||||||
return; |
|
||||||
} |
|
||||||
if (GUILayout.Button(new GUIContent("Load", "Updates settings with the profile configuration."), GUILayout.Width(60))) { |
|
||||||
profileChanged = true; |
|
||||||
} |
|
||||||
GUI.enabled = enableProfileApply; |
|
||||||
if (GUILayout.Button(new GUIContent("Save", "Updates profile configuration with changes in this inspector."), GUILayout.Width(60))) { |
|
||||||
enableProfileApply = false; |
|
||||||
profileChanged = false; |
|
||||||
thisEffect.profile.Save(thisEffect); |
|
||||||
EditorUtility.SetDirty(thisEffect.profile); |
|
||||||
GUIUtility.ExitGUI(); |
|
||||||
return; |
|
||||||
} |
|
||||||
GUI.enabled = true; |
|
||||||
if (GUILayout.Button(new GUIContent("Locate", "Finds the profile in the project"), GUILayout.Width(60))) { |
|
||||||
if (thisEffect.profile != null) { |
|
||||||
Selection.activeObject = thisEffect.profile; |
|
||||||
EditorGUIUtility.PingObject(thisEffect.profile); |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
EditorGUILayout.PropertyField(profileSync, new GUIContent("Sync With Profile", "If disabled, profile settings will only be loaded when clicking 'Load' which allows you to customize settings after loading a profile and keep those changes.")); |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
} else { |
|
||||||
if (GUILayout.Button(new GUIContent("Create", "Creates a new profile which is a copy of the current settings."), GUILayout.Width(60))) { |
|
||||||
CreateProfile(); |
|
||||||
GUIUtility.ExitGUI(); |
|
||||||
return; |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
|
|
||||||
|
|
||||||
if (isManager) { |
|
||||||
EditorGUILayout.HelpBox("These are default settings for highlighted objects. If the highlighted object already has a Highlight Effect component, those properties will be used.", MessageType.Info); |
|
||||||
} |
|
||||||
|
|
||||||
expandGeneralSettings = EditorGUILayout.Foldout(expandGeneralSettings, "General Settings", true, foldoutBold); |
|
||||||
if (expandGeneralSettings) { |
|
||||||
EditorGUILayout.PropertyField(camerasLayerMask); |
|
||||||
EditorGUILayout.PropertyField(ignoreObjectVisibility); |
|
||||||
if (thisEffect.staticChildren) { |
|
||||||
EditorGUILayout.HelpBox("This GameObject or one of its children is marked as static. If highlight is not visible, add a MeshCollider to them (the MeshCollider can be disabled).", MessageType.Warning); |
|
||||||
} |
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(reflectionProbes); |
|
||||||
|
|
||||||
if (isMeshObject) { |
|
||||||
EditorGUILayout.PropertyField(normalsOption); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(optimizeSkinnedMesh); |
|
||||||
if (isMeshObject || optimizeSkinnedMesh.boolValue) { |
|
||||||
EditorGUILayout.PropertyField(GPUInstancing); |
|
||||||
} |
|
||||||
EditorGUILayout.Separator(); |
|
||||||
} |
|
||||||
|
|
||||||
if (!isManager) { |
|
||||||
EditorGUILayout.LabelField("State", EditorStyles.boldLabel); |
|
||||||
if (isManager) { |
|
||||||
EditorGUILayout.LabelField(new GUIContent("Highlighted", "Highlight state (controlled by Highlight Manager)."), new GUIContent(thisEffect.highlighted.ToString())); |
|
||||||
} else { |
|
||||||
EditorGUILayout.PropertyField(highlighted); |
|
||||||
} |
|
||||||
EditorGUILayout.LabelField(new GUIContent("Selected", "Selection state (used by Highlight Trigger or Manager) when using multi-selection option."), new GUIContent(thisEffect.isSelected.ToString())); |
|
||||||
EditorGUILayout.Separator(); |
|
||||||
} |
|
||||||
|
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
expandHighlightOptions = EditorGUILayout.Foldout(expandHighlightOptions, "Highlight Options", true, foldoutBold); |
|
||||||
if (!isMeshObject) { |
|
||||||
GUILayout.Label(new GUIContent("SPRITE MODE", "Highlight Effect over sprites. Some effects are not available in sprite mode"), EditorStyles.centeredGreyMiniLabel); |
|
||||||
} |
|
||||||
if (GUILayout.Button("Help", GUILayout.Width(50))) { |
|
||||||
EditorUtility.DisplayDialog("Quick Help", "Move the mouse over a setting for a short description.\n\nVisit kronnect.com's forum for support, questions and more cool assets.\n\nIf you like Highlight Plus please rate it or leave a review on the Asset Store! Thanks.", "Ok"); |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
if (expandHighlightOptions) { |
|
||||||
EditorGUI.BeginChangeCheck(); |
|
||||||
if (!isManager) { |
|
||||||
EditorGUILayout.PropertyField(ignore, new GUIContent("Ignore", "This object won't be highlighted.")); |
|
||||||
} |
|
||||||
if (!ignore.boolValue) { |
|
||||||
EditorGUILayout.PropertyField(effectGroup, new GUIContent("Include", "Additional objects to highlight. Pro tip: when highlighting multiple objects at the same time include them in the same layer or under the same parent.")); |
|
||||||
if (effectGroup.intValue == (int)TargetOptions.LayerInScene || effectGroup.intValue == (int)TargetOptions.LayerInChildren) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(effectGroupLayer, new GUIContent("Layer")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
if (effectGroup.intValue != (int)TargetOptions.OnlyThisObject && effectGroup.intValue != (int)TargetOptions.Scripting) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(effectNameFilter, new GUIContent("Object Name Filter")); |
|
||||||
if (effectNameUseRegEx.boolValue && !string.IsNullOrEmpty(thisEffect.lastRegExError)) { |
|
||||||
EditorGUILayout.HelpBox(thisEffect.lastRegExError, MessageType.Error); |
|
||||||
} |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
EditorGUILayout.PropertyField(effectNameUseRegEx, new GUIContent("Use Regular Expressions", "If enabled, the Object Name Filter is a regular expression.")); |
|
||||||
if (effectNameUseRegEx.boolValue) { |
|
||||||
if (GUILayout.Button("Help", GUILayout.Width(50))) { |
|
||||||
if (EditorUtility.DisplayDialog("Regular Expressions", "Check the online Microsoft documentation for regular expressions syntax. You can also use ChatGPT to obtain regular expressions patterns. Some examples:\n^[^A].* will match any name not starting with an A\n.*[^\\d]$ matches any name not ending in a number.", "Online Reference", "Close")) { |
|
||||||
Application.OpenURL("https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference"); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
if (isMeshObject) { |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
EditorGUILayout.PropertyField(combineMeshes); |
|
||||||
if (combineMeshes.boolValue) { |
|
||||||
if (GUILayout.Button("Refresh", GUILayout.Width(70))) { |
|
||||||
thisEffect.Refresh(true); |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(alphaCutOff, new GUIContent("Alpha Cut Off", "Only for semi-transparent objects. Leave this to zero for normal opaque objects.")); |
|
||||||
if (isMeshObject) { |
|
||||||
EditorGUILayout.PropertyField(cullBackFaces); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(fadeInDuration); |
|
||||||
EditorGUILayout.PropertyField(fadeOutDuration); |
|
||||||
EditorGUILayout.PropertyField(cameraDistanceFade); |
|
||||||
if (cameraDistanceFade.boolValue) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(cameraDistanceFadeNear, new GUIContent("Near Distance")); |
|
||||||
EditorGUILayout.PropertyField(cameraDistanceFadeFar, new GUIContent("Far Distance")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
if ((outlineQuality.intValue == (int)QualityLevel.Highest && outline.floatValue > 0) || (glowQuality.intValue == (int)QualityLevel.Highest && glow.floatValue > 0)) { |
|
||||||
EditorGUILayout.PropertyField(flipY, new GUIContent("Flip Y Fix", "Flips outline/glow effect to fix bug introduced in Unity 2019.1.0 when VR is enabled.")); |
|
||||||
} |
|
||||||
if (glowQuality.intValue != (int)QualityLevel.Highest || outlineQuality.intValue != (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(constantWidth, new GUIContent("Constant Width", "Compensates outline/glow width with depth increase.")); |
|
||||||
} |
|
||||||
if (isMeshObject) { |
|
||||||
EditorGUILayout.PropertyField(subMeshMask); |
|
||||||
EditorGUILayout.PropertyField(outlineIndependent, new GUIContent("Independent", "Do not combine outline or glow with other highlighted objects.")); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
if (!ignore.boolValue) { |
|
||||||
EditorGUILayout.Separator(); |
|
||||||
EditorGUILayout.LabelField("Effects", EditorStyles.boldLabel); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(outline, "Outline", outline.floatValue > 0); |
|
||||||
if (outline.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
if (isMeshObject) { |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
QualityPropertyField(outlineQuality); |
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
GUILayout.Label("(Screen-Space Effect)"); |
|
||||||
} else { |
|
||||||
GUILayout.Label("(Mesh-based Effect)"); |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
} |
|
||||||
CheckVRSupport(outlineQuality.intValue); |
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(outlineEdgeMode, new GUIContent("Edges")); |
|
||||||
if (outlineEdgeMode.intValue == (int)OutlineEdgeMode.Any) { |
|
||||||
EditorGUILayout.PropertyField(outlineEdgeThreshold, new GUIContent("Edge Detection Threshold")); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(outlineContourStyle, new GUIContent("Contour Style")); |
|
||||||
EditorGUILayout.PropertyField(outlineWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(outlineColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(outlineBlurPasses, new GUIContent("Blur Passes")); |
|
||||||
EditorGUILayout.PropertyField(outlineSharpness, new GUIContent("Sharpness")); |
|
||||||
} else { |
|
||||||
EditorGUILayout.PropertyField(outlineWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(outlineColorStyle, new GUIContent("Color Style")); |
|
||||||
switch ((ColorStyle)outlineColorStyle.intValue) { |
|
||||||
case ColorStyle.SingleColor: |
|
||||||
EditorGUILayout.PropertyField(outlineColor, new GUIContent("Color")); |
|
||||||
break; |
|
||||||
case ColorStyle.Gradient: |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(outlineGradient, new GUIContent("Gradient")); |
|
||||||
EditorGUILayout.PropertyField(outlineGradientInLocalSpace, new GUIContent("In Local Space")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest && outlineEdgeMode.intValue != (int)OutlineEdgeMode.Any) { |
|
||||||
CheckDepthTextureSupport("Highest Quality"); |
|
||||||
EditorGUILayout.PropertyField(outlineDownsampling, new GUIContent("Downsampling")); |
|
||||||
} |
|
||||||
|
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest && (glow.floatValue > 0 && glowQuality.intValue == (int)QualityLevel.Highest)) { |
|
||||||
outlineVisibility.intValue = glowVisibility.intValue; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(outlineVisibility, new GUIContent("Visibility")); |
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(outlineBlitDebug, new GUIContent("Debug View", "Shows the blitting rectangle on the screen.")); |
|
||||||
if (!Application.isPlaying && outlineBlitDebug.boolValue && (!HighlightPlusRenderPassFeature.showingInEditMode || !highlighted.boolValue)) { |
|
||||||
EditorGUILayout.HelpBox("Enable \"Preview In Editor\" in the Highlight Render Feature and \"Highlighted\" to display the outline Debug View.", MessageType.Warning); |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(outlineMaskMode, new GUIContent("Mask Mode")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(glow, "Outer Glow", glow.floatValue > 0); |
|
||||||
if (glow.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
if (isMeshObject) { |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
QualityPropertyField(glowQuality); |
|
||||||
if (glowQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
GUILayout.Label("(Screen-Space Effect)"); |
|
||||||
} else { |
|
||||||
GUILayout.Label("(Mesh-based Effect)"); |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
} |
|
||||||
CheckVRSupport(glowQuality.intValue); |
|
||||||
if (glowQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
CheckDepthTextureSupport("Highest Quality"); |
|
||||||
EditorGUILayout.PropertyField(outlineContourStyle, new GUIContent("Contour Style")); |
|
||||||
EditorGUILayout.PropertyField(glowWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(glowHQColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(glowBlurMethod, new GUIContent("Blur Method", "Gaussian: better quality. Kawase: faster.")); |
|
||||||
EditorGUILayout.PropertyField(glowDownsampling, new GUIContent("Downsampling")); |
|
||||||
} else { |
|
||||||
EditorGUILayout.PropertyField(glowWidth, new GUIContent("Width")); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(glowMaskMode, new GUIContent("Mask Mode")); |
|
||||||
if (glowQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(glowVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUILayout.PropertyField(glowBlendMode, new GUIContent("Blend Mode")); |
|
||||||
} else { |
|
||||||
EditorGUILayout.PropertyField(glowVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUILayout.PropertyField(glowDithering, new GUIContent("Dithering")); |
|
||||||
if (glowDithering.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(glowDitheringStyle, new GUIContent("Style")); |
|
||||||
if (glowDitheringStyle.intValue == (int)GlowDitheringStyle.Pattern) { |
|
||||||
EditorGUILayout.PropertyField(glowMagicNumber1, new GUIContent("Magic Number 1")); |
|
||||||
EditorGUILayout.PropertyField(glowMagicNumber2, new GUIContent("Magic Number 2")); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(glowBlendPasses, new GUIContent("Blend Passes")); |
|
||||||
if (!glowBlendPasses.boolValue) { |
|
||||||
HighlightEffect ef = (HighlightEffect)target; |
|
||||||
if (ef.glowPasses != null) { |
|
||||||
for (int k = 0; k < ef.glowPasses.Length - 1; k++) { |
|
||||||
if (ef.glowPasses[k].offset > ef.glowPasses[k + 1].offset) { |
|
||||||
EditorGUILayout.HelpBox("Glow pass " + k + " has a greater offset than the next one. Reduce it to ensure the next glow pass is visible.", MessageType.Warning); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(glowPasses, true); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(glowAnimationSpeed, new GUIContent("Animation Speed")); |
|
||||||
if (glowQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(glowBlitDebug, new GUIContent("Debug View", "Shows the blitting rectangle on the screen.")); |
|
||||||
if (!Application.isPlaying && glowBlitDebug.boolValue && (!HighlightPlusRenderPassFeature.showingInEditMode || !highlighted.boolValue)) { |
|
||||||
EditorGUILayout.HelpBox("Enable \"Preview In Editor\" in the Highlight Render Feature and \"Highlighted\" to display the glow Debug View.", MessageType.Warning); |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
if (isMeshObject) { |
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(innerGlow, "Inner Glow", innerGlow.floatValue > 0); |
|
||||||
if (innerGlow.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(innerGlowColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(innerGlowWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(innerGlowBlendMode, new GUIContent("Blend Mode")); |
|
||||||
EditorGUILayout.PropertyField(innerGlowVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
} |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(overlay, "Overlay", overlay.floatValue > 0); |
|
||||||
if (overlay.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(overlayMode, new GUIContent("Mode")); |
|
||||||
EditorGUILayout.PropertyField(overlayColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(overlayTexture, new GUIContent("Texture")); |
|
||||||
if (overlayTexture.objectReferenceValue != null) { |
|
||||||
EditorGUILayout.PropertyField(overlayTextureUVSpace, new GUIContent("UV Space")); |
|
||||||
EditorGUILayout.PropertyField(overlayTextureScale, new GUIContent("Texture Scale")); |
|
||||||
if ((TextureUVSpace)overlayTextureUVSpace.intValue != TextureUVSpace.Triplanar) { |
|
||||||
EditorGUILayout.PropertyField(overlayTextureScrolling, new GUIContent("Texture Scrolling")); |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(overlayBlending, new GUIContent("Blending")); |
|
||||||
EditorGUILayout.PropertyField(overlayMinIntensity, new GUIContent("Min Intensity")); |
|
||||||
EditorGUILayout.PropertyField(overlayAnimationSpeed, new GUIContent("Animation Speed")); |
|
||||||
EditorGUILayout.PropertyField(overlayVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(targetFX, "Target", targetFX.boolValue); |
|
||||||
if (targetFX.boolValue) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(targetFXTexture, new GUIContent("Texture", "The texture that contains the shape to be drawn over the highlighted object.")); |
|
||||||
EditorGUILayout.PropertyField(targetFXColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(targetFXUseEnclosingBounds, new GUIContent("Use Enclosing Bounds")); |
|
||||||
if (!targetFXUseEnclosingBounds.boolValue) { |
|
||||||
EditorGUILayout.PropertyField(targetFXCenter, new GUIContent("Center", "Optionally assign a transform. Target will follow transform. If the object is skinned, you can also assign a bone to reflect currenct animation position.")); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(targetFXRotationSpeed, new GUIContent("Rotation Speed")); |
|
||||||
EditorGUILayout.PropertyField(targetFXInitialScale, new GUIContent("Initial Scale")); |
|
||||||
EditorGUILayout.PropertyField(targetFXEndScale, new GUIContent("End Scale")); |
|
||||||
EditorGUILayout.PropertyField(targetFXScaleToRenderBounds, new GUIContent("Scale To Object Bounds")); |
|
||||||
EditorGUILayout.PropertyField(targetFXOffset, new GUIContent("Offset")); |
|
||||||
EditorGUILayout.PropertyField(targetFXAlignToGround, new GUIContent("Align To Ground")); |
|
||||||
if (targetFXAlignToGround.boolValue) { |
|
||||||
CheckDepthTextureSupport("Align To Ground option"); |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
if (thisEffect.includedObjectsCount > 1 && targetFXCenter.objectReferenceValue == null && effectGroup.intValue != (int)TargetOptions.OnlyThisObject) { |
|
||||||
EditorGUILayout.HelpBox("It's recommended to specify in the 'Center' property above, the specific object used to position the target fx image (will be rendered under that object on the ground).", MessageType.Info); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(targetFXGroundMaxDistance, new GUIContent("Ground Max Distance")); |
|
||||||
EditorGUILayout.PropertyField(targetFXGroundLayerMask, new GUIContent("Ground Layer Mask")); |
|
||||||
HighlightEffect he = (HighlightEffect)target; |
|
||||||
if ((targetFXGroundLayerMask.intValue & (1 << he.gameObject.layer)) != 0) { |
|
||||||
EditorGUILayout.HelpBox("Ground Layer Mask should not include this object layer.", MessageType.Warning); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(targetFXFadePower, new GUIContent("Fade Power")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(targetFXTransitionDuration, new GUIContent("Transition Duration")); |
|
||||||
EditorGUILayout.PropertyField(targetFXStayDuration, new GUIContent("Stay Duration")); |
|
||||||
EditorGUILayout.PropertyField(targetFXVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
} |
|
||||||
|
|
||||||
if (isMeshObject) { |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
EditorGUILayout.PropertyField(seeThrough); |
|
||||||
if (seeThrough.intValue != (int)SeeThroughMode.Never) { |
|
||||||
if (isManager && seeThrough.intValue == (int)SeeThroughMode.AlwaysWhenOccluded) { |
|
||||||
EditorGUILayout.HelpBox("This option is not valid in Manager.\nTo make an object always visible add a Highlight Effect component to the gameobject and enable this option on the component.", MessageType.Error); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderMask, new GUIContent("Occluder Layer")); |
|
||||||
if (seeThroughOccluderMask.intValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderMaskAccurate, new GUIContent("Accurate")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderThreshold, new GUIContent("Radius Threshold", "Multiplier to the object bounds. Making the bounds smaller prevents false occlusion tests.")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderCheckInterval, new GUIContent("Check Interval", "Interval in seconds between occlusion tests.")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderCheckIndividualObjects, new GUIContent("Check Individual Objects")); |
|
||||||
if (!showCurrentOccluders && Camera.main != null) { |
|
||||||
GUI.enabled = Application.isPlaying; |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
GUILayout.Label("", GUILayout.Width(30)); |
|
||||||
if (GUILayout.Button(" Show Current Occluders (only during Play Mode) ")) { |
|
||||||
showCurrentOccluders = true; |
|
||||||
} |
|
||||||
GUILayout.FlexibleSpace(); |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
GUI.enabled = true; |
|
||||||
} |
|
||||||
if (showCurrentOccluders) { |
|
||||||
HighlightEffect h = (HighlightEffect)target; |
|
||||||
List<Renderer> occluders = h.GetOccluders(Camera.main); |
|
||||||
int count = occluders != null ? occluders.Count : 0; |
|
||||||
if (count == 0) { |
|
||||||
EditorGUILayout.LabelField("No occluders found (using main camera)"); |
|
||||||
} else { |
|
||||||
EditorGUILayout.LabelField("Occluders found (using main camera):"); |
|
||||||
for (int k = 0; k < count; k++) { |
|
||||||
if (occluders[k] == null) continue; |
|
||||||
EditorGUILayout.BeginHorizontal(); |
|
||||||
EditorGUILayout.LabelField(occluders[k].name); |
|
||||||
if (GUILayout.Button("Select")) { |
|
||||||
Selection.activeGameObject = occluders[k].gameObject; |
|
||||||
GUIUtility.ExitGUI(); |
|
||||||
} |
|
||||||
EditorGUILayout.EndHorizontal(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(seeThroughDepthOffset, new GUIContent("Depth Offset" + ((seeThroughDepthOffset.floatValue > 0) ? " •" : ""))); |
|
||||||
EditorGUILayout.PropertyField(seeThroughMaxDepth, new GUIContent("Max Depth" + ((seeThroughMaxDepth.floatValue > 0) ? " •" : ""))); |
|
||||||
if (seeThroughDepthOffset.floatValue > 0 || seeThroughMaxDepth.floatValue > 0) { |
|
||||||
CheckDepthTextureSupport("See-Through Depth Options"); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(seeThroughIntensity, new GUIContent("Intensity")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTintColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTintAlpha, new GUIContent("Color Blend")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughNoise, new GUIContent("Noise")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTexture, new GUIContent("Texture")); |
|
||||||
if (seeThroughTexture.objectReferenceValue != null) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(seeThroughTextureUVSpace, new GUIContent("UV Space")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTextureScale, new GUIContent("Texture Scale")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorder, new GUIContent("Border When Hidden" + ((seeThroughBorder.floatValue > 0) ? " •" : ""))); |
|
||||||
if (seeThroughBorder.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorderWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorderColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorderOnly, new GUIContent("Border Only")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(seeThroughChildrenSortingMode, new GUIContent("Children Sorting Mode")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOrdered, new GUIContent("Ordered")); |
|
||||||
|
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
} |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(hitFxInitialIntensity, "Hit FX", hitFxInitialIntensity.floatValue > 0); |
|
||||||
if (hitFxInitialIntensity.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(hitFxMode, new GUIContent("Mode")); |
|
||||||
EditorGUILayout.PropertyField(hitFxFadeOutDuration, new GUIContent("Fade Out Duration")); |
|
||||||
EditorGUILayout.PropertyField(hitFxColor, new GUIContent("Color")); |
|
||||||
if ((HitFxMode)hitFxMode.intValue == HitFxMode.LocalHit) { |
|
||||||
EditorGUILayout.PropertyField(hitFxRadius, new GUIContent("Radius")); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
|
|
||||||
if (!Application.isPlaying) { |
|
||||||
EditorGUILayout.HelpBox("Enter Play Mode to test this feature. In your code, call effect.HitFX() method to execute this hit effect.", MessageType.Info); |
|
||||||
} else { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
if (GUILayout.Button("Execute Hit")) { |
|
||||||
thisEffect.HitFX(); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
if (serializedObject.ApplyModifiedProperties() || profileChanged || Event.current.commandName == "UndoRedoPerformed") { |
|
||||||
if (thisEffect.profile != null) { |
|
||||||
if (profileChanged) { |
|
||||||
thisEffect.profile.Load(thisEffect); |
|
||||||
profileChanged = false; |
|
||||||
enableProfileApply = false; |
|
||||||
} else { |
|
||||||
enableProfileApply = true; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
foreach (HighlightEffect effect in targets) { |
|
||||||
effect.Refresh(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
void DrawSectionField(SerializedProperty property, string label, bool active) { |
|
||||||
EditorGUILayout.PropertyField(property, new GUIContent(active ? label + " •" : label)); |
|
||||||
} |
|
||||||
|
|
||||||
void CheckVRSupport(int qualityLevel) { |
|
||||||
if (qualityLevel == (int)QualityLevel.Highest && PlayerSettings.virtualRealitySupported) { |
|
||||||
if (PlayerSettings.stereoRenderingPath != StereoRenderingPath.MultiPass) { |
|
||||||
EditorGUILayout.HelpBox("Highest Quality only supports VR Multi-Pass as CommandBuffers do not support this VR mode yet. Either switch to 'High Quality' or change VR Stereo mode to Multi-Pass.", MessageType.Error); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
void CheckDepthTextureSupport(string feature) { |
|
||||||
#if !UNITY_2021_2_OR_NEWER |
|
||||||
if (pipe == null) return; |
|
||||||
if (!pipe.supportsCameraDepthTexture && !thisEffect.spriteMode) { |
|
||||||
EditorGUILayout.HelpBox(feature + " requires Depth Texture support and currently it's not enabled in the Rendering Pipeline asset.", MessageType.Error); |
|
||||||
if (pipe != null && GUILayout.Button("Go to Universal Rendering Pipeline Asset")) { |
|
||||||
Selection.activeObject = pipe; |
|
||||||
} |
|
||||||
EditorGUILayout.Separator(); |
|
||||||
} |
|
||||||
#endif |
|
||||||
} |
|
||||||
|
|
||||||
static readonly int[] qualityValues = { 0, 3, 1, 2 }; |
|
||||||
static readonly GUIContent[] qualityTexts = { new GUIContent("Fastest"), new GUIContent("Medium"), new GUIContent("High"), new GUIContent("Highest") }; |
|
||||||
|
|
||||||
public static void QualityPropertyField(SerializedProperty prop) { |
|
||||||
prop.intValue = EditorGUILayout.IntPopup(new GUIContent("Quality", "Default and High use a mesh displacement technique. Highest quality can provide best look and also performance depending on the complexity of mesh."), prop.intValue, qualityTexts, qualityValues); |
|
||||||
} |
|
||||||
|
|
||||||
bool IsDefaultEffectUsedByManager() { |
|
||||||
MonoBehaviour[] components = thisEffect.GetComponents<MonoBehaviour>(); |
|
||||||
if (components != null) { |
|
||||||
for (int k = 0; k < components.Length; k++) { |
|
||||||
if (components[k] == null || !components[k].enabled) |
|
||||||
continue; |
|
||||||
string name = components[k].GetType().Name; |
|
||||||
if ("HighlightManager".Equals(name)) return true; |
|
||||||
} |
|
||||||
} |
|
||||||
return false; |
|
||||||
} |
|
||||||
|
|
||||||
#region Profile handling |
|
||||||
|
|
||||||
void CreateProfile() { |
|
||||||
|
|
||||||
HighlightProfile newProfile = CreateInstance<HighlightProfile>(); |
|
||||||
newProfile.Save(thisEffect); |
|
||||||
|
|
||||||
AssetDatabase.CreateAsset(newProfile, "Assets/Highlight Plus Profile.asset"); |
|
||||||
AssetDatabase.SaveAssets(); |
|
||||||
|
|
||||||
EditorUtility.FocusProjectWindow(); |
|
||||||
Selection.activeObject = newProfile; |
|
||||||
|
|
||||||
thisEffect.profile = newProfile; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
#endregion |
|
||||||
|
|
||||||
#pragma warning restore 0618 |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: be287539f47634552a716f0705710448 |
|
||||||
timeCreated: 1542886545 |
|
||||||
licenseType: Store |
|
||||||
MonoImporter: |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,71 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEditor; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
namespace HighlightPlus { |
|
||||||
[CustomEditor(typeof(HighlightManager))] |
|
||||||
public class HighlightManagerEditor : Editor { |
|
||||||
|
|
||||||
SerializedProperty highlightOnHover, layerMask, raycastCamera, raycastSource, minDistance, maxDistance, respectUI; |
|
||||||
SerializedProperty selectOnClick, selectedProfile, selectedAndHighlightedProfile, singleSelection, toggleOnClick, keepSelection; |
|
||||||
|
|
||||||
void OnEnable() { |
|
||||||
highlightOnHover = serializedObject.FindProperty("_highlightOnHover"); |
|
||||||
layerMask = serializedObject.FindProperty("layerMask"); |
|
||||||
raycastCamera = serializedObject.FindProperty("raycastCamera"); |
|
||||||
raycastSource = serializedObject.FindProperty("raycastSource"); |
|
||||||
minDistance = serializedObject.FindProperty("minDistance"); |
|
||||||
maxDistance = serializedObject.FindProperty("maxDistance"); |
|
||||||
respectUI = serializedObject.FindProperty("respectUI"); |
|
||||||
selectOnClick = serializedObject.FindProperty("selectOnClick"); |
|
||||||
selectedProfile = serializedObject.FindProperty("selectedProfile"); |
|
||||||
selectedAndHighlightedProfile = serializedObject.FindProperty("selectedAndHighlightedProfile"); |
|
||||||
singleSelection = serializedObject.FindProperty("singleSelection"); |
|
||||||
toggleOnClick = serializedObject.FindProperty("toggle"); |
|
||||||
keepSelection = serializedObject.FindProperty("keepSelection"); |
|
||||||
} |
|
||||||
|
|
||||||
public override void OnInspectorGUI() { |
|
||||||
EditorGUILayout.Separator(); |
|
||||||
EditorGUILayout.HelpBox("Only objects with a collider can be highlighted automatically.", MessageType.Info); |
|
||||||
|
|
||||||
serializedObject.Update(); |
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(layerMask); |
|
||||||
EditorGUILayout.PropertyField(raycastCamera); |
|
||||||
EditorGUILayout.PropertyField(raycastSource); |
|
||||||
EditorGUILayout.PropertyField(minDistance); |
|
||||||
EditorGUILayout.PropertyField(maxDistance); |
|
||||||
EditorGUILayout.PropertyField(respectUI); |
|
||||||
EditorGUILayout.PropertyField(highlightOnHover); |
|
||||||
EditorGUILayout.PropertyField(selectOnClick); |
|
||||||
if (selectOnClick.boolValue) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(selectedProfile); |
|
||||||
EditorGUILayout.PropertyField(selectedAndHighlightedProfile); |
|
||||||
EditorGUILayout.PropertyField(singleSelection); |
|
||||||
EditorGUILayout.PropertyField(toggleOnClick); |
|
||||||
EditorGUILayout.PropertyField(keepSelection); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
|
|
||||||
serializedObject.ApplyModifiedProperties(); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
[MenuItem("GameObject/Effects/Highlight Plus/Create Highlight Manager", false, 10)] |
|
||||||
static void CreateManager (MenuCommand menuCommand) { |
|
||||||
HighlightManager manager = Misc.FindObjectOfType<HighlightManager> (); |
|
||||||
if (manager == null) { |
|
||||||
GameObject managerGO = new GameObject ("HighlightPlusManager"); |
|
||||||
manager = managerGO.AddComponent<HighlightManager> (); |
|
||||||
// Register root object for undo. |
|
||||||
Undo.RegisterCreatedObjectUndo (manager, "Create Highlight Plus Manager"); |
|
||||||
} |
|
||||||
Selection.activeObject = manager; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: ace58d1d278d649c98e5a2b5a066b3cd |
|
||||||
timeCreated: 1548711355 |
|
||||||
licenseType: Store |
|
||||||
MonoImporter: |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,391 +0,0 @@ |
|||||||
using UnityEditor; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
namespace HighlightPlus { |
|
||||||
|
|
||||||
[CustomEditor(typeof(HighlightProfile))] |
|
||||||
[CanEditMultipleObjects] |
|
||||||
public class HighlightProfileEditor : Editor { |
|
||||||
|
|
||||||
SerializedProperty effectGroup, effectGroupLayer, effectNameFilter, effectNameUseRegEx, combineMeshes, alphaCutOff, cullBackFaces; |
|
||||||
SerializedProperty overlay, overlayMode, overlayColor, overlayAnimationSpeed, overlayMinIntensity, overlayTexture, overlayTextureScale, overlayTextureScrolling, overlayTextureUVSpace, overlayBlending, overlayVisibility; |
|
||||||
SerializedProperty fadeInDuration, fadeOutDuration, constantWidth, normalsOption; |
|
||||||
SerializedProperty outline, outlineColor, outlineColorStyle, outlineGradient, outlineGradientInLocalSpace, outlineWidth, outlineBlurPasses, outlineQuality, outlineEdgeMode, outlineEdgeThreshold, outlineSharpness; |
|
||||||
SerializedProperty outlineDownsampling, outlineVisibility, outlineIndependent, outlineContourStyle, outlineMaskMode; |
|
||||||
SerializedProperty glow, glowWidth, glowQuality, glowBlurMethod, glowDownsampling, glowHQColor, glowDithering, glowDitheringStyle, glowMagicNumber1, glowMagicNumber2, glowAnimationSpeed; |
|
||||||
SerializedProperty glowBlendPasses, glowVisibility, glowBlendMode, glowPasses, glowMaskMode; |
|
||||||
SerializedProperty innerGlow, innerGlowWidth, innerGlowColor, innerGlowBlendMode, innerGlowVisibility; |
|
||||||
SerializedProperty targetFX, targetFXTexture, targetFXColor, targetFXRotationSpeed, targetFXInitialScale, targetFXEndScale, targetFXScaleToRenderBounds, targetFXUseEnclosingBounds, targetFXOffset; |
|
||||||
SerializedProperty targetFXAlignToGround, targetFXFadePower, targetFXGroundMaxDistance, targetFXGroundLayerMask, targetFXTransitionDuration, targetFXStayDuration, targetFXVisibility; |
|
||||||
SerializedProperty seeThrough, seeThroughOccluderMask, seeThroughOccluderMaskAccurate, seeThroughOccluderThreshold, seeThroughOccluderCheckInterval, seeThroughOccluderCheckIndividualObjects, seeThroughDepthOffset, seeThroughMaxDepth; |
|
||||||
SerializedProperty seeThroughIntensity, seeThroughTintAlpha, seeThroughTintColor, seeThroughNoise, seeThroughBorder, seeThroughBorderWidth, seeThroughBorderColor, seeThroughOrdered, seeThroughBorderOnly, seeThroughTexture, seeThroughTextureUVSpace, seeThroughTextureScale, seeThroughChildrenSortingMode; |
|
||||||
SerializedProperty hitFxInitialIntensity, hitFxMode, hitFxFadeOutDuration, hitFxColor, hitFxRadius; |
|
||||||
SerializedProperty cameraDistanceFade, cameraDistanceFadeNear, cameraDistanceFadeFar; |
|
||||||
|
|
||||||
void OnEnable() { |
|
||||||
effectGroup = serializedObject.FindProperty("effectGroup"); |
|
||||||
effectGroupLayer = serializedObject.FindProperty("effectGroupLayer"); |
|
||||||
effectNameFilter = serializedObject.FindProperty("effectNameFilter"); |
|
||||||
effectNameUseRegEx = serializedObject.FindProperty("effectNameUseRegEx"); |
|
||||||
combineMeshes = serializedObject.FindProperty("combineMeshes"); |
|
||||||
alphaCutOff = serializedObject.FindProperty("alphaCutOff"); |
|
||||||
cullBackFaces = serializedObject.FindProperty("cullBackFaces"); |
|
||||||
normalsOption = serializedObject.FindProperty("normalsOption"); |
|
||||||
fadeInDuration = serializedObject.FindProperty("fadeInDuration"); |
|
||||||
fadeOutDuration = serializedObject.FindProperty("fadeOutDuration"); |
|
||||||
constantWidth = serializedObject.FindProperty("constantWidth"); |
|
||||||
overlay = serializedObject.FindProperty("overlay"); |
|
||||||
overlayMode = serializedObject.FindProperty("overlayMode"); |
|
||||||
overlayColor = serializedObject.FindProperty("overlayColor"); |
|
||||||
overlayAnimationSpeed = serializedObject.FindProperty("overlayAnimationSpeed"); |
|
||||||
overlayMinIntensity = serializedObject.FindProperty("overlayMinIntensity"); |
|
||||||
overlayBlending = serializedObject.FindProperty("overlayBlending"); |
|
||||||
overlayVisibility = serializedObject.FindProperty("overlayVisibility"); |
|
||||||
overlayTexture = serializedObject.FindProperty("overlayTexture"); |
|
||||||
overlayTextureUVSpace = serializedObject.FindProperty("overlayTextureUVSpace"); |
|
||||||
overlayTextureScale = serializedObject.FindProperty("overlayTextureScale"); |
|
||||||
overlayTextureScrolling = serializedObject.FindProperty("overlayTextureScrolling"); |
|
||||||
outline = serializedObject.FindProperty("outline"); |
|
||||||
outlineColor = serializedObject.FindProperty("outlineColor"); |
|
||||||
outlineColorStyle = serializedObject.FindProperty("outlineColorStyle"); |
|
||||||
outlineGradient = serializedObject.FindProperty("outlineGradient"); |
|
||||||
outlineGradientInLocalSpace = serializedObject.FindProperty("outlineGradientInLocalSpace"); |
|
||||||
outlineWidth = serializedObject.FindProperty("outlineWidth"); |
|
||||||
outlineBlurPasses = serializedObject.FindProperty("outlineBlurPasses"); |
|
||||||
outlineQuality = serializedObject.FindProperty("outlineQuality"); |
|
||||||
outlineEdgeMode = serializedObject.FindProperty("outlineEdgeMode"); |
|
||||||
outlineEdgeThreshold = serializedObject.FindProperty("outlineEdgeThreshold"); |
|
||||||
outlineSharpness = serializedObject.FindProperty("outlineSharpness"); |
|
||||||
outlineDownsampling = serializedObject.FindProperty("outlineDownsampling"); |
|
||||||
outlineVisibility = serializedObject.FindProperty("outlineVisibility"); |
|
||||||
outlineIndependent = serializedObject.FindProperty("outlineIndependent"); |
|
||||||
outlineContourStyle = serializedObject.FindProperty("outlineContourStyle"); |
|
||||||
outlineMaskMode = serializedObject.FindProperty("outlineMaskMode"); |
|
||||||
glow = serializedObject.FindProperty("glow"); |
|
||||||
glowWidth = serializedObject.FindProperty("glowWidth"); |
|
||||||
glowQuality = serializedObject.FindProperty("glowQuality"); |
|
||||||
glowBlurMethod = serializedObject.FindProperty("glowBlurMethod"); |
|
||||||
glowDownsampling = serializedObject.FindProperty("glowDownsampling"); |
|
||||||
glowHQColor = serializedObject.FindProperty("glowHQColor"); |
|
||||||
glowAnimationSpeed = serializedObject.FindProperty("glowAnimationSpeed"); |
|
||||||
glowDithering = serializedObject.FindProperty("glowDithering"); |
|
||||||
glowDitheringStyle = serializedObject.FindProperty("glowDitheringStyle"); |
|
||||||
glowMagicNumber1 = serializedObject.FindProperty("glowMagicNumber1"); |
|
||||||
glowMagicNumber2 = serializedObject.FindProperty("glowMagicNumber2"); |
|
||||||
glowAnimationSpeed = serializedObject.FindProperty("glowAnimationSpeed"); |
|
||||||
glowBlendPasses = serializedObject.FindProperty("glowBlendPasses"); |
|
||||||
glowVisibility = serializedObject.FindProperty("glowVisibility"); |
|
||||||
glowBlendMode = serializedObject.FindProperty("glowBlendMode"); |
|
||||||
glowPasses = serializedObject.FindProperty("glowPasses"); |
|
||||||
glowMaskMode = serializedObject.FindProperty("glowMaskMode"); |
|
||||||
innerGlow = serializedObject.FindProperty("innerGlow"); |
|
||||||
innerGlowColor = serializedObject.FindProperty("innerGlowColor"); |
|
||||||
innerGlowWidth = serializedObject.FindProperty("innerGlowWidth"); |
|
||||||
innerGlowBlendMode = serializedObject.FindProperty("innerGlowBlendMode"); |
|
||||||
innerGlowVisibility = serializedObject.FindProperty("innerGlowVisibility"); |
|
||||||
targetFX = serializedObject.FindProperty("targetFX"); |
|
||||||
targetFXTexture = serializedObject.FindProperty("targetFXTexture"); |
|
||||||
targetFXRotationSpeed = serializedObject.FindProperty("targetFXRotationSpeed"); |
|
||||||
targetFXInitialScale = serializedObject.FindProperty("targetFXInitialScale"); |
|
||||||
targetFXEndScale = serializedObject.FindProperty("targetFXEndScale"); |
|
||||||
targetFXScaleToRenderBounds = serializedObject.FindProperty("targetFXScaleToRenderBounds"); |
|
||||||
targetFXUseEnclosingBounds = serializedObject.FindProperty("targetFXUseEnclosingBounds"); |
|
||||||
targetFXOffset = serializedObject.FindProperty("targetFXOffset"); |
|
||||||
targetFXAlignToGround = serializedObject.FindProperty("targetFXAlignToGround"); |
|
||||||
targetFXGroundMaxDistance = serializedObject.FindProperty("targetFXGroundMaxDistance"); |
|
||||||
targetFXGroundLayerMask = serializedObject.FindProperty("targetFXGroundLayerMask"); |
|
||||||
targetFXFadePower = serializedObject.FindProperty("targetFXFadePower"); |
|
||||||
targetFXColor = serializedObject.FindProperty("targetFXColor"); |
|
||||||
targetFXTransitionDuration = serializedObject.FindProperty("targetFXTransitionDuration"); |
|
||||||
targetFXStayDuration = serializedObject.FindProperty("targetFXStayDuration"); |
|
||||||
targetFXVisibility = serializedObject.FindProperty("targetFXVisibility"); |
|
||||||
seeThrough = serializedObject.FindProperty("seeThrough"); |
|
||||||
seeThroughOccluderMask = serializedObject.FindProperty("seeThroughOccluderMask"); |
|
||||||
seeThroughOccluderMaskAccurate = serializedObject.FindProperty("seeThroughOccluderMaskAccurate"); |
|
||||||
seeThroughOccluderThreshold = serializedObject.FindProperty("seeThroughOccluderThreshold"); |
|
||||||
seeThroughOccluderCheckInterval = serializedObject.FindProperty("seeThroughOccluderCheckInterval"); |
|
||||||
seeThroughOccluderCheckIndividualObjects = serializedObject.FindProperty("seeThroughOccluderCheckIndividualObjects"); |
|
||||||
seeThroughDepthOffset = serializedObject.FindProperty("seeThroughDepthOffset"); |
|
||||||
seeThroughMaxDepth = serializedObject.FindProperty("seeThroughMaxDepth"); |
|
||||||
seeThroughIntensity = serializedObject.FindProperty("seeThroughIntensity"); |
|
||||||
seeThroughTintAlpha = serializedObject.FindProperty("seeThroughTintAlpha"); |
|
||||||
seeThroughTintColor = serializedObject.FindProperty("seeThroughTintColor"); |
|
||||||
seeThroughNoise = serializedObject.FindProperty("seeThroughNoise"); |
|
||||||
seeThroughBorder = serializedObject.FindProperty("seeThroughBorder"); |
|
||||||
seeThroughBorderWidth = serializedObject.FindProperty("seeThroughBorderWidth"); |
|
||||||
seeThroughBorderColor = serializedObject.FindProperty("seeThroughBorderColor"); |
|
||||||
seeThroughBorderOnly = serializedObject.FindProperty("seeThroughBorderOnly"); |
|
||||||
seeThroughOrdered = serializedObject.FindProperty("seeThroughOrdered"); |
|
||||||
seeThroughTexture = serializedObject.FindProperty("seeThroughTexture"); |
|
||||||
seeThroughTextureScale = serializedObject.FindProperty("seeThroughTextureScale"); |
|
||||||
seeThroughTextureUVSpace = serializedObject.FindProperty("seeThroughTextureUVSpace"); |
|
||||||
seeThroughChildrenSortingMode = serializedObject.FindProperty("seeThroughChildrenSortingMode"); |
|
||||||
hitFxInitialIntensity = serializedObject.FindProperty("hitFxInitialIntensity"); |
|
||||||
hitFxMode = serializedObject.FindProperty("hitFxMode"); |
|
||||||
hitFxFadeOutDuration = serializedObject.FindProperty("hitFxFadeOutDuration"); |
|
||||||
hitFxColor = serializedObject.FindProperty("hitFxColor"); |
|
||||||
hitFxRadius = serializedObject.FindProperty("hitFxRadius"); |
|
||||||
cameraDistanceFade = serializedObject.FindProperty("cameraDistanceFade"); |
|
||||||
cameraDistanceFadeNear = serializedObject.FindProperty("cameraDistanceFadeNear"); |
|
||||||
cameraDistanceFadeFar = serializedObject.FindProperty("cameraDistanceFadeFar"); |
|
||||||
} |
|
||||||
|
|
||||||
public override void OnInspectorGUI() { |
|
||||||
|
|
||||||
serializedObject.Update(); |
|
||||||
|
|
||||||
EditorGUILayout.Separator(); |
|
||||||
EditorGUILayout.LabelField("Highlight Options", EditorStyles.boldLabel); |
|
||||||
EditorGUILayout.PropertyField(effectGroup, new GUIContent("Include")); |
|
||||||
if (effectGroup.intValue == (int)TargetOptions.LayerInScene || effectGroup.intValue == (int)TargetOptions.LayerInChildren) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(effectGroupLayer, new GUIContent("Layer")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
if (effectGroup.intValue != (int)TargetOptions.OnlyThisObject && effectGroup.intValue != (int)TargetOptions.Scripting) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(effectNameFilter, new GUIContent("Object Name Filter")); |
|
||||||
EditorGUILayout.PropertyField(effectNameUseRegEx, new GUIContent("Use Regular Expressions")); |
|
||||||
EditorGUILayout.PropertyField(combineMeshes); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(alphaCutOff); |
|
||||||
EditorGUILayout.PropertyField(cullBackFaces); |
|
||||||
EditorGUILayout.PropertyField(normalsOption); |
|
||||||
EditorGUILayout.PropertyField(fadeInDuration); |
|
||||||
EditorGUILayout.PropertyField(fadeOutDuration); |
|
||||||
EditorGUILayout.PropertyField(cameraDistanceFade); |
|
||||||
if (cameraDistanceFade.boolValue) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(cameraDistanceFadeNear, new GUIContent("Near Distance")); |
|
||||||
EditorGUILayout.PropertyField(cameraDistanceFadeFar, new GUIContent("Far Distance")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(constantWidth); |
|
||||||
EditorGUILayout.PropertyField(outlineIndependent, new GUIContent("Independent", "Do not combine outline with other highlighted objects.")); |
|
||||||
|
|
||||||
EditorGUILayout.Separator(); |
|
||||||
EditorGUILayout.LabelField("Effects", EditorStyles.boldLabel); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(outline, "Outline", outline.floatValue > 0); |
|
||||||
if (outline.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
HighlightEffectEditor.QualityPropertyField(outlineQuality); |
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(outlineEdgeMode, new GUIContent("Edges")); |
|
||||||
if (outlineEdgeMode.intValue == (int)OutlineEdgeMode.Any) { |
|
||||||
EditorGUILayout.PropertyField(outlineEdgeThreshold, new GUIContent("Edge Detection Threshold")); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(outlineContourStyle, new GUIContent("Contour Style")); |
|
||||||
EditorGUILayout.PropertyField(outlineWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(outlineColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(outlineBlurPasses, new GUIContent("Blur Passes")); |
|
||||||
EditorGUILayout.PropertyField(outlineSharpness, new GUIContent("Sharpness")); |
|
||||||
} else { |
|
||||||
EditorGUILayout.PropertyField(outlineWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(outlineColorStyle, new GUIContent("Color Style")); |
|
||||||
switch ((ColorStyle)outlineColorStyle.intValue) { |
|
||||||
case ColorStyle.SingleColor: |
|
||||||
EditorGUILayout.PropertyField(outlineColor, new GUIContent("Color")); |
|
||||||
break; |
|
||||||
case ColorStyle.Gradient: |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(outlineGradient, new GUIContent("Gradient")); |
|
||||||
EditorGUILayout.PropertyField(outlineGradientInLocalSpace, new GUIContent("In Local Space")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
break; |
|
||||||
} |
|
||||||
} |
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest && outlineEdgeMode.intValue != (int)OutlineEdgeMode.Any) { |
|
||||||
EditorGUILayout.PropertyField(outlineDownsampling, new GUIContent("Downsampling")); |
|
||||||
} |
|
||||||
if (outlineQuality.intValue == (int)QualityLevel.Highest && glowQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(glowVisibility, new GUIContent("Visibility")); |
|
||||||
} else { |
|
||||||
EditorGUILayout.PropertyField(outlineVisibility, new GUIContent("Visibility")); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(outlineMaskMode, new GUIContent("Mask Mode")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(glow, "Outer Glow", glow.floatValue > 0); |
|
||||||
if (glow.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
HighlightEffectEditor.QualityPropertyField(glowQuality); |
|
||||||
if (glowQuality.intValue == (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(outlineContourStyle, new GUIContent("Contour Style")); |
|
||||||
EditorGUILayout.PropertyField(glowWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(glowHQColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(glowBlurMethod, new GUIContent("Blur Method", "Gaussian: better quality. Kawase: faster.")); |
|
||||||
EditorGUILayout.PropertyField(glowDownsampling, new GUIContent("Downsampling")); |
|
||||||
} else { |
|
||||||
EditorGUILayout.PropertyField(glowWidth, new GUIContent("Width")); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(glowAnimationSpeed, new GUIContent("Animation Speed")); |
|
||||||
EditorGUILayout.PropertyField(glowVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUILayout.PropertyField(glowMaskMode, new GUIContent("Mask Mode")); |
|
||||||
EditorGUILayout.PropertyField(glowBlendMode, new GUIContent("Blend Mode")); |
|
||||||
if (glowQuality.intValue != (int)QualityLevel.Highest) { |
|
||||||
EditorGUILayout.PropertyField(glowDithering, new GUIContent("Dithering")); |
|
||||||
if (glowDithering.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(glowDitheringStyle, new GUIContent("Style")); |
|
||||||
if (glowDitheringStyle.intValue == (int)GlowDitheringStyle.Pattern) { |
|
||||||
EditorGUILayout.PropertyField(glowMagicNumber1, new GUIContent("Magic Number 1")); |
|
||||||
EditorGUILayout.PropertyField(glowMagicNumber2, new GUIContent("Magic Number 2")); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(glowBlendPasses, new GUIContent("Blend Passes")); |
|
||||||
EditorGUILayout.PropertyField(glowPasses, true); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(innerGlow, "Inner Glow", innerGlow.floatValue > 0); |
|
||||||
if (innerGlow.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(innerGlowColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(innerGlowWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(innerGlowBlendMode, new GUIContent("Blend Mode")); |
|
||||||
EditorGUILayout.PropertyField(innerGlowVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(overlay, "Overlay", overlay.floatValue > 0); |
|
||||||
if (overlay.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(overlayMode, new GUIContent("Mode")); |
|
||||||
EditorGUILayout.PropertyField(overlayColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(overlayTexture, new GUIContent("Texture")); |
|
||||||
if (overlayTexture.objectReferenceValue != null) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(overlayTextureUVSpace, new GUIContent("UV Space")); |
|
||||||
EditorGUILayout.PropertyField(overlayTextureScale, new GUIContent("Texture Scale")); |
|
||||||
if ((TextureUVSpace)overlayTextureUVSpace.intValue != TextureUVSpace.Triplanar) { |
|
||||||
EditorGUILayout.PropertyField(overlayTextureScrolling, new GUIContent("Texture Scrolling")); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(overlayBlending, new GUIContent("Blending")); |
|
||||||
EditorGUILayout.PropertyField(overlayMinIntensity, new GUIContent("Min Intensity")); |
|
||||||
EditorGUILayout.PropertyField(overlayAnimationSpeed, new GUIContent("Animation Speed")); |
|
||||||
EditorGUILayout.PropertyField(overlayVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(targetFX, "Target", targetFX.boolValue); |
|
||||||
if (targetFX.boolValue) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(targetFXTexture, new GUIContent("Texture")); |
|
||||||
EditorGUILayout.PropertyField(targetFXColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(targetFXUseEnclosingBounds, new GUIContent("Use Enclosing Bounds")); |
|
||||||
EditorGUILayout.PropertyField(targetFXRotationSpeed, new GUIContent("Rotation Speed")); |
|
||||||
EditorGUILayout.PropertyField(targetFXInitialScale, new GUIContent("Initial Scale")); |
|
||||||
EditorGUILayout.PropertyField(targetFXEndScale, new GUIContent("End Scale")); |
|
||||||
EditorGUILayout.PropertyField(targetFXScaleToRenderBounds, new GUIContent("Scale To Object Bounds")); |
|
||||||
EditorGUILayout.PropertyField(targetFXOffset, new GUIContent("Offset")); |
|
||||||
EditorGUILayout.PropertyField(targetFXAlignToGround, new GUIContent("Align To Ground")); |
|
||||||
if (targetFXAlignToGround.boolValue) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(targetFXGroundMaxDistance, new GUIContent("Ground Max Distance")); |
|
||||||
EditorGUILayout.PropertyField(targetFXGroundLayerMask, new GUIContent("Ground Layer Mask")); |
|
||||||
EditorGUILayout.PropertyField(targetFXFadePower, new GUIContent("Fade Power")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(targetFXTransitionDuration, new GUIContent("Transition Duration")); |
|
||||||
EditorGUILayout.PropertyField(targetFXStayDuration, new GUIContent("Stay Duration")); |
|
||||||
EditorGUILayout.PropertyField(targetFXVisibility, new GUIContent("Visibility")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
EditorGUILayout.PropertyField(seeThrough); |
|
||||||
if (seeThrough.intValue != (int)SeeThroughMode.Never) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderMask, new GUIContent("Occluder Layer")); |
|
||||||
if (seeThroughOccluderMask.intValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderMaskAccurate, new GUIContent("Accurate")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderThreshold, new GUIContent("Radius Threshold", "Multiplier to the object bounds. Making the bounds smaller prevents false occlusion tests.")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderCheckInterval, new GUIContent("Check Interval", "Interval in seconds between occlusion tests.")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOccluderCheckIndividualObjects, new GUIContent("Check Individual Objects", "Interval in seconds between occlusion tests.")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(seeThroughDepthOffset, new GUIContent("Depth Offset" + ((seeThroughDepthOffset.floatValue > 0) ? " •" : ""))); |
|
||||||
EditorGUILayout.PropertyField(seeThroughMaxDepth, new GUIContent("Max Depth" + ((seeThroughMaxDepth.floatValue > 0) ? " •" : ""))); |
|
||||||
EditorGUILayout.PropertyField(seeThroughIntensity, new GUIContent("Intensity")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTintColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTintAlpha, new GUIContent("Color Blend")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughNoise, new GUIContent("Noise")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTexture, new GUIContent("Texture")); |
|
||||||
if (seeThroughTexture.objectReferenceValue != null) { |
|
||||||
EditorGUILayout.PropertyField(seeThroughTextureUVSpace, new GUIContent("UV Space")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughTextureScale, new GUIContent("Texture Scale")); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorder, new GUIContent("Border When Hidden")); |
|
||||||
if (seeThroughBorder.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorderWidth, new GUIContent("Width")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorderColor, new GUIContent("Color")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughBorderOnly, new GUIContent("Border Only")); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(seeThroughChildrenSortingMode, new GUIContent("Children Sorting Mode")); |
|
||||||
EditorGUILayout.PropertyField(seeThroughOrdered, new GUIContent("Ordered")); |
|
||||||
|
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
EditorGUILayout.BeginVertical(GUI.skin.box); |
|
||||||
DrawSectionField(hitFxInitialIntensity, "Hit FX", hitFxInitialIntensity.floatValue > 0); |
|
||||||
if (hitFxInitialIntensity.floatValue > 0) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(hitFxInitialIntensity, new GUIContent("Initial Intensity")); |
|
||||||
EditorGUILayout.PropertyField(hitFxMode, new GUIContent("Mode")); |
|
||||||
EditorGUILayout.PropertyField(hitFxFadeOutDuration, new GUIContent("Fade Out Duration")); |
|
||||||
EditorGUILayout.PropertyField(hitFxColor, new GUIContent("Color")); |
|
||||||
if ((HitFxMode)hitFxMode.intValue == HitFxMode.LocalHit) { |
|
||||||
EditorGUILayout.PropertyField(hitFxRadius, new GUIContent("Radius")); |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
EditorGUILayout.EndVertical(); |
|
||||||
|
|
||||||
if (serializedObject.ApplyModifiedProperties() || (Event.current.type == EventType.ValidateCommand && |
|
||||||
Event.current.commandName == "UndoRedoPerformed")) { |
|
||||||
|
|
||||||
// Triggers profile reload on all Highlight Effect scripts |
|
||||||
HighlightEffect[] effects = Misc.FindObjectsOfType<HighlightEffect>(); |
|
||||||
for (int t = 0; t < targets.Length; t++) { |
|
||||||
HighlightProfile profile = (HighlightProfile)targets[t]; |
|
||||||
for (int k = 0; k < effects.Length; k++) { |
|
||||||
if (effects[k] != null && effects[k].profile == profile && effects[k].profileSync) { |
|
||||||
profile.Load(effects[k]); |
|
||||||
effects[k].Refresh(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
EditorUtility.SetDirty(target); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
void DrawSectionField(SerializedProperty property, string label, bool active) { |
|
||||||
EditorGUILayout.PropertyField(property, new GUIContent(active ? label + " •" : label)); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: b3b0e551d6f4f4f3987e8e5be2e89285 |
|
||||||
timeCreated: 1542886545 |
|
||||||
licenseType: Store |
|
||||||
MonoImporter: |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,32 +0,0 @@ |
|||||||
using UnityEditor; |
|
||||||
|
|
||||||
namespace HighlightPlus { |
|
||||||
|
|
||||||
[CustomEditor(typeof(HighlightSeeThroughOccluder))] |
|
||||||
public class HighlightSeeThroughOccluderEditor : Editor { |
|
||||||
|
|
||||||
SerializedProperty mode, detectionMethod; |
|
||||||
|
|
||||||
void OnEnable() { |
|
||||||
mode = serializedObject.FindProperty("mode"); |
|
||||||
detectionMethod = serializedObject.FindProperty("detectionMethod"); |
|
||||||
} |
|
||||||
|
|
||||||
public override void OnInspectorGUI() { |
|
||||||
|
|
||||||
serializedObject.Update(); |
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(mode); |
|
||||||
if (mode.intValue == (int)OccluderMode.BlocksSeeThrough) { |
|
||||||
EditorGUILayout.HelpBox("This object will occlude any see-through effect.", MessageType.Info); |
|
||||||
EditorGUILayout.PropertyField(detectionMethod); |
|
||||||
} else { |
|
||||||
EditorGUILayout.HelpBox("This object will trigger see-through effect. Use only on objects that do not write to depth buffer normally, like sprites or transparent objects.", MessageType.Info); |
|
||||||
} |
|
||||||
|
|
||||||
serializedObject.ApplyModifiedProperties(); |
|
||||||
|
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 11e725ecbe4d74569b232e1a0d57efba |
|
||||||
timeCreated: 1548711355 |
|
||||||
licenseType: Store |
|
||||||
MonoImporter: |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,105 +0,0 @@ |
|||||||
using UnityEditor; |
|
||||||
using UnityEngine; |
|
||||||
|
|
||||||
namespace HighlightPlus { |
|
||||||
[CustomEditor(typeof(HighlightTrigger))] |
|
||||||
public class HighlightTriggerEditor : Editor { |
|
||||||
|
|
||||||
SerializedProperty highlightOnHover, triggerMode, raycastCamera, raycastSource, raycastLayerMask; |
|
||||||
SerializedProperty minDistance, maxDistance, respectUI, volumeLayerMask; |
|
||||||
SerializedProperty selectOnClick, selectedProfile, selectedAndHighlightedProfile, singleSelection, toggleOnClick, keepSelection; |
|
||||||
HighlightTrigger trigger; |
|
||||||
|
|
||||||
void OnEnable() { |
|
||||||
highlightOnHover = serializedObject.FindProperty("highlightOnHover"); |
|
||||||
triggerMode = serializedObject.FindProperty("triggerMode"); |
|
||||||
raycastCamera = serializedObject.FindProperty("raycastCamera"); |
|
||||||
raycastSource = serializedObject.FindProperty("raycastSource"); |
|
||||||
raycastLayerMask = serializedObject.FindProperty("raycastLayerMask"); |
|
||||||
minDistance = serializedObject.FindProperty("minDistance"); |
|
||||||
maxDistance = serializedObject.FindProperty("maxDistance"); |
|
||||||
respectUI = serializedObject.FindProperty("respectUI"); |
|
||||||
volumeLayerMask = serializedObject.FindProperty("volumeLayerMask"); |
|
||||||
selectOnClick = serializedObject.FindProperty("selectOnClick"); |
|
||||||
selectedProfile = serializedObject.FindProperty("selectedProfile"); |
|
||||||
selectedAndHighlightedProfile = serializedObject.FindProperty("selectedAndHighlightedProfile"); |
|
||||||
singleSelection = serializedObject.FindProperty("singleSelection"); |
|
||||||
toggleOnClick = serializedObject.FindProperty("toggle"); |
|
||||||
keepSelection = serializedObject.FindProperty("keepSelection"); |
|
||||||
trigger = (HighlightTrigger)target; |
|
||||||
trigger.Init(); |
|
||||||
} |
|
||||||
|
|
||||||
public override void OnInspectorGUI() { |
|
||||||
|
|
||||||
serializedObject.Update (); |
|
||||||
|
|
||||||
if (trigger.triggerMode == TriggerMode.RaycastOnThisObjectAndChildren) { |
|
||||||
if (!trigger.hasColliders && !trigger.hasColliders2D) { |
|
||||||
EditorGUILayout.HelpBox ("No collider found on this object or any of its children. Add colliders to allow automatic highlighting.", MessageType.Warning); |
|
||||||
} |
|
||||||
} else { |
|
||||||
#if ENABLE_INPUT_SYSTEM |
|
||||||
if (trigger.triggerMode == TriggerMode.ColliderEventsOnlyOnThisObject) { |
|
||||||
EditorGUILayout.HelpBox("This trigger mode is not compatible with the new input system.", MessageType.Error); |
|
||||||
} |
|
||||||
#endif |
|
||||||
if (trigger.GetComponent<Collider>() == null && trigger.GetComponent<Collider2D>() == null) { |
|
||||||
EditorGUILayout.HelpBox ("No collider found on this object. Add a collider to allow automatic highlighting.", MessageType.Error); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(triggerMode); |
|
||||||
switch (trigger.triggerMode) { |
|
||||||
case TriggerMode.RaycastOnThisObjectAndChildren: |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(raycastCamera); |
|
||||||
EditorGUILayout.PropertyField(raycastSource); |
|
||||||
EditorGUILayout.PropertyField(raycastLayerMask); |
|
||||||
EditorGUILayout.PropertyField(minDistance); |
|
||||||
EditorGUILayout.PropertyField(maxDistance); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
break; |
|
||||||
case TriggerMode.Volume: |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(volumeLayerMask); |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
break; |
|
||||||
} |
|
||||||
|
|
||||||
if (trigger.triggerMode != TriggerMode.Volume) { |
|
||||||
EditorGUILayout.PropertyField(respectUI); |
|
||||||
} |
|
||||||
EditorGUILayout.PropertyField(highlightOnHover); |
|
||||||
EditorGUILayout.PropertyField(selectOnClick); |
|
||||||
if (selectOnClick.boolValue) { |
|
||||||
EditorGUI.indentLevel++; |
|
||||||
EditorGUILayout.PropertyField(selectedProfile); |
|
||||||
EditorGUILayout.PropertyField(selectedAndHighlightedProfile); |
|
||||||
EditorGUILayout.PropertyField(singleSelection); |
|
||||||
EditorGUILayout.PropertyField(toggleOnClick); |
|
||||||
if (trigger.triggerMode == TriggerMode.RaycastOnThisObjectAndChildren) { |
|
||||||
EditorGUI.BeginChangeCheck(); |
|
||||||
EditorGUILayout.PropertyField(keepSelection); |
|
||||||
if (EditorGUI.EndChangeCheck()) { |
|
||||||
// Update all triggers |
|
||||||
HighlightTrigger[] triggers = Misc.FindObjectsOfType<HighlightTrigger>(); |
|
||||||
foreach(HighlightTrigger t in triggers) { |
|
||||||
if (t.keepSelection != keepSelection.boolValue) { |
|
||||||
t.keepSelection = keepSelection.boolValue; |
|
||||||
EditorUtility.SetDirty(t); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
EditorGUI.indentLevel--; |
|
||||||
} |
|
||||||
|
|
||||||
if (serializedObject.ApplyModifiedProperties()) { |
|
||||||
trigger.Init(); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,12 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: eaf7f56fbcfa343efb5081d4309cb76b |
|
||||||
timeCreated: 1548711355 |
|
||||||
licenseType: Store |
|
||||||
MonoImporter: |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,92 +0,0 @@ |
|||||||
using System.Collections; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
using UnityEngine.Rendering; |
|
||||||
using UnityEditor; |
|
||||||
|
|
||||||
namespace HighlightPlus { |
|
||||||
|
|
||||||
public class TransparentWithDepth { |
|
||||||
|
|
||||||
static Material bmDepthOnly; |
|
||||||
|
|
||||||
|
|
||||||
[MenuItem ("GameObject/Effects/Highlight Plus/Add Depth To Transparent Object", false, 100)] |
|
||||||
static void AddDepthOption () { |
|
||||||
Renderer renderer = GetRenderer (); |
|
||||||
if (renderer == null) |
|
||||||
return; |
|
||||||
|
|
||||||
if (!EditorUtility.DisplayDialog ("Add Depth To Transparent Object", "This option will force the transparent object to write to the depth buffer by adding a new special material to the renderer (existing materials are preserved) so it can occlude and allow See-Through effect.\nOnly use on transparent objects.\n\nProceed?", "Yes", "No")) { |
|
||||||
return; |
|
||||||
} |
|
||||||
|
|
||||||
Material[] materials = renderer.sharedMaterials; |
|
||||||
for (int k = 0; k < materials.Length; k++) { |
|
||||||
if (materials [k] == bmDepthOnly) { |
|
||||||
EditorUtility.DisplayDialog ("Depth Support", "Already set! Nothing to do.", "Ok"); |
|
||||||
return; |
|
||||||
} |
|
||||||
} |
|
||||||
if (materials == null) { |
|
||||||
renderer.sharedMaterial = bmDepthOnly; |
|
||||||
} else { |
|
||||||
List<Material> newMaterials = new List<Material> (materials); |
|
||||||
newMaterials.Insert (0, bmDepthOnly); |
|
||||||
renderer.sharedMaterials = newMaterials.ToArray (); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
[MenuItem ("GameObject/Effects/Highlight Plus/Remove Depth Compatibility", false, 101)] |
|
||||||
static void RemoveDepthOption () { |
|
||||||
|
|
||||||
Renderer renderer = GetRenderer (); |
|
||||||
if (renderer == null) |
|
||||||
return; |
|
||||||
|
|
||||||
Material[] materials = renderer.sharedMaterials; |
|
||||||
for (int k = 0; k < materials.Length; k++) { |
|
||||||
if (materials [k] == bmDepthOnly) { |
|
||||||
List<Material> newMaterials = new List<Material> (renderer.sharedMaterials); |
|
||||||
newMaterials.RemoveAt (k); |
|
||||||
renderer.sharedMaterials = newMaterials.ToArray (); |
|
||||||
return; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
for (int k = 0; k < materials.Length; k++) { |
|
||||||
if (materials [k] == bmDepthOnly) { |
|
||||||
EditorUtility.DisplayDialog ("Depth Support", "This object was not previously modified! Nothing to do.", "Ok"); |
|
||||||
return; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
static Renderer GetRenderer () { |
|
||||||
|
|
||||||
if (Selection.activeGameObject == null) { |
|
||||||
EditorUtility.DisplayDialog ("Depth Support", "This option can only be used on GameObjects.", "Ok"); |
|
||||||
return null; |
|
||||||
} |
|
||||||
Renderer renderer = Selection.activeGameObject.GetComponent<Renderer> (); |
|
||||||
if (renderer == null) { |
|
||||||
EditorUtility.DisplayDialog ("Depth Support", "This option can only be used on GameObjects with a Renderer component attached.", "Ok"); |
|
||||||
return null; |
|
||||||
} |
|
||||||
|
|
||||||
if (bmDepthOnly == null) { |
|
||||||
bmDepthOnly = Resources.Load<Material> ("HighlightPlus/HighlightPlusDepthWrite"); |
|
||||||
if (bmDepthOnly == null) { |
|
||||||
EditorUtility.DisplayDialog ("Depth Support", "HighlightPlusDepthWrite material not found!", "Ok"); |
|
||||||
return null; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
return renderer; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
} |
|
||||||
} |
|
@ -1,13 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: be6e3be6d17ed49a3bd16d816815d6fd |
|
||||||
timeCreated: 1515683694 |
|
||||||
licenseType: Store |
|
||||||
MonoImporter: |
|
||||||
externalObjects: {} |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 3302310c4cbf644e2b5dc5c588f0213f |
|
||||||
folderAsset: yes |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 6ec7787befe3645f7a6f10c3762dc3df |
|
||||||
folderAsset: yes |
|
||||||
DefaultImporter: |
|
||||||
externalObjects: {} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,78 +0,0 @@ |
|||||||
%YAML 1.1 |
|
||||||
%TAG !u! tag:unity3d.com,2011: |
|
||||||
--- !u!114 &-7137549924450841197 |
|
||||||
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: 473a86c9e274347dfbdde619584cebe9, type: 3} |
|
||||||
m_Name: NewHighlightPlusRenderPassFeature |
|
||||||
m_EditorClassIdentifier: |
|
||||||
m_Active: 1 |
|
||||||
renderPassEvent: 500 |
|
||||||
clearStencil: 0 |
|
||||||
previewInEditMode: 1 |
|
||||||
showInPreviewCamera: 1 |
|
||||||
--- !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: de640fe3d0db1804a85f9fc8f5cadab6, type: 3} |
|
||||||
m_Name: HighlightPlusForwardRenderer |
|
||||||
m_EditorClassIdentifier: |
|
||||||
debugShaders: |
|
||||||
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7, |
|
||||||
type: 3} |
|
||||||
m_RendererFeatures: |
|
||||||
- {fileID: -7137549924450841197} |
|
||||||
m_RendererFeatureMap: |
|
||||||
m_UseNativeRenderPass: 0 |
|
||||||
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} |
|
||||||
xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} |
|
||||||
shaders: |
|
||||||
blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} |
|
||||||
copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} |
|
||||||
screenSpaceShadowPS: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, |
|
||||||
type: 3} |
|
||||||
samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3} |
|
||||||
stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3} |
|
||||||
fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} |
|
||||||
materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3} |
|
||||||
coreBlitPS: {fileID: 4800000, guid: 93446b5c5339d4f00b85c159e1159b7c, type: 3} |
|
||||||
coreBlitColorAndDepthPS: {fileID: 4800000, guid: d104b2fc1ca6445babb8e90b0758136b, |
|
||||||
type: 3} |
|
||||||
cameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, |
|
||||||
type: 3} |
|
||||||
objectMotionVector: {fileID: 4800000, guid: 7b3ede40266cd49a395def176e1bc486, |
|
||||||
type: 3} |
|
||||||
m_AssetVersion: 2 |
|
||||||
m_OpaqueLayerMask: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
m_TransparentLayerMask: |
|
||||||
serializedVersion: 2 |
|
||||||
m_Bits: 4294967295 |
|
||||||
m_DefaultStencilState: |
|
||||||
overrideStencilState: 0 |
|
||||||
stencilReference: 0 |
|
||||||
stencilCompareFunction: 8 |
|
||||||
passOperation: 0 |
|
||||||
failOperation: 0 |
|
||||||
zFailOperation: 0 |
|
||||||
m_ShadowTransparentReceive: 1 |
|
||||||
m_RenderingMode: 0 |
|
||||||
m_DepthPrimingMode: 0 |
|
||||||
m_CopyDepthMode: 0 |
|
||||||
m_AccurateGbufferNormals: 0 |
|
||||||
m_ClusteredRendering: 0 |
|
||||||
m_TileSize: 32 |
|
||||||
m_IntermediateTextureMode: 1 |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 47db18f3169384f6b87445e6447e189e |
|
||||||
NativeFormatImporter: |
|
||||||
externalObjects: {} |
|
||||||
mainObjectFileID: 0 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,245 +0,0 @@ |
|||||||
using System; |
|
||||||
using System.Collections.Generic; |
|
||||||
using UnityEngine; |
|
||||||
using UnityEngine.Rendering; |
|
||||||
using UnityEngine.Rendering.Universal; |
|
||||||
#if UNITY_2023_3_OR_NEWER |
|
||||||
using UnityEngine.Rendering.RenderGraphModule; |
|
||||||
#endif |
|
||||||
|
|
||||||
namespace HighlightPlus { |
|
||||||
|
|
||||||
public class HighlightPlusRenderPassFeature : ScriptableRendererFeature { |
|
||||||
|
|
||||||
class HighlightPass : ScriptableRenderPass { |
|
||||||
|
|
||||||
class PassData { |
|
||||||
public Camera camera; |
|
||||||
#if UNITY_2022_1_OR_NEWER |
|
||||||
public RTHandle colorTarget, depthTarget; |
|
||||||
#else |
|
||||||
public RenderTargetIdentifier colorTarget, depthTarget; |
|
||||||
#endif |
|
||||||
#if UNITY_2023_3_OR_NEWER |
|
||||||
public TextureHandle colorTexture, depthTexture; |
|
||||||
#endif |
|
||||||
public bool clearStencil; |
|
||||||
public CommandBuffer cmd; |
|
||||||
} |
|
||||||
|
|
||||||
readonly PassData passData = new PassData(); |
|
||||||
|
|
||||||
// far objects render first |
|
||||||
class DistanceComparer : IComparer<HighlightEffect> { |
|
||||||
|
|
||||||
public Vector3 camPos; |
|
||||||
|
|
||||||
public int Compare(HighlightEffect e1, HighlightEffect e2) { |
|
||||||
Vector3 e1Pos = e1.transform.position; |
|
||||||
float dx1 = e1Pos.x - camPos.x; |
|
||||||
float dy1 = e1Pos.y - camPos.y; |
|
||||||
float dz1 = e1Pos.z - camPos.z; |
|
||||||
float distE1 = dx1 * dx1 + dy1 * dy1 + dz1 * dz1 + e1.sortingOffset; |
|
||||||
Vector3 e2Pos = e2.transform.position; |
|
||||||
float dx2 = e2Pos.x - camPos.x; |
|
||||||
float dy2 = e2Pos.y - camPos.y; |
|
||||||
float dz2 = e2Pos.z - camPos.z; |
|
||||||
float distE2 = dx2 * dx2 + dy2 * dy2 + dz2 * dz2 + e2.sortingOffset; |
|
||||||
if (distE1 > distE2) return -1; |
|
||||||
if (distE1 < distE2) return 1; |
|
||||||
return 0; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
public bool usesCameraOverlay; |
|
||||||
|
|
||||||
ScriptableRenderer renderer; |
|
||||||
RenderTextureDescriptor cameraTextureDescriptor; |
|
||||||
static DistanceComparer effectDistanceComparer = new DistanceComparer(); |
|
||||||
bool clearStencil; |
|
||||||
static int frameCount; |
|
||||||
|
|
||||||
public void Setup(HighlightPlusRenderPassFeature passFeature, ScriptableRenderer renderer) { |
|
||||||
this.renderPassEvent = passFeature.renderPassEvent; |
|
||||||
this.clearStencil = passFeature.clearStencil; |
|
||||||
this.renderer = renderer; |
|
||||||
#if ENABLE_VR_MODULE |
|
||||||
HighlightEffect.isVREnabled = UnityEngine.XR.XRSettings.enabled && Application.isPlaying; |
|
||||||
#endif |
|
||||||
} |
|
||||||
|
|
||||||
#if UNITY_2023_3_OR_NEWER |
|
||||||
[Obsolete] |
|
||||||
#endif |
|
||||||
public override void Configure(CommandBuffer cmd, RenderTextureDescriptor cameraTextureDescriptor) { |
|
||||||
this.cameraTextureDescriptor = cameraTextureDescriptor; |
|
||||||
#if UNITY_2021_2_OR_NEWER |
|
||||||
ConfigureInput(ScriptableRenderPassInput.Depth); |
|
||||||
#endif |
|
||||||
} |
|
||||||
|
|
||||||
#if UNITY_2023_3_OR_NEWER |
|
||||||
[Obsolete] |
|
||||||
#endif |
|
||||||
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData) { |
|
||||||
|
|
||||||
#if UNITY_2022_1_OR_NEWER |
|
||||||
RTHandle cameraColorTarget = renderer.cameraColorTargetHandle; |
|
||||||
RTHandle cameraDepthTarget = renderer.cameraDepthTargetHandle; |
|
||||||
#else |
|
||||||
RenderTargetIdentifier cameraColorTarget = renderer.cameraColorTarget; |
|
||||||
RenderTargetIdentifier cameraDepthTarget = renderer.cameraDepthTarget; |
|
||||||
#endif |
|
||||||
#if !UNITY_2021_2_OR_NEWER |
|
||||||
// In Unity 2021.2, when MSAA > 1, cameraDepthTarget is no longer cameraColorTarget |
|
||||||
if (!usesCameraOverlay && (cameraTextureDescriptor.msaaSamples > 1 || cam.cameraType == CameraType.SceneView)) { |
|
||||||
cameraDepthTarget = cameraColorTarget; |
|
||||||
} |
|
||||||
#endif |
|
||||||
|
|
||||||
passData.clearStencil = clearStencil; |
|
||||||
passData.camera = renderingData.cameraData.camera; |
|
||||||
passData.colorTarget = cameraColorTarget; |
|
||||||
passData.depthTarget = cameraDepthTarget; |
|
||||||
|
|
||||||
CommandBuffer cmd = CommandBufferPool.Get("Highlight Plus"); |
|
||||||
cmd.Clear(); |
|
||||||
|
|
||||||
passData.cmd = cmd; |
|
||||||
ExecutePass(passData); |
|
||||||
context.ExecuteCommandBuffer(cmd); |
|
||||||
CommandBufferPool.Release(cmd); |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
static void ExecutePass(PassData passData) { |
|
||||||
|
|
||||||
int count = HighlightEffect.effects.Count; |
|
||||||
|
|
||||||
#if UNITY_EDITOR |
|
||||||
// Safety check: in some circumstances, the render graph is executed when some components are null before being removed from the effects list |
|
||||||
if (!Application.isPlaying) { |
|
||||||
HighlightEffect.effects.RemoveAll( t => t == null); |
|
||||||
count = HighlightEffect.effects.Count; |
|
||||||
} |
|
||||||
#endif |
|
||||||
if (count == 0) return; |
|
||||||
|
|
||||||
Camera cam = passData.camera; |
|
||||||
int camLayer = 1 << cam.gameObject.layer; |
|
||||||
CameraType camType = cam.cameraType; |
|
||||||
|
|
||||||
if (!HighlightEffect.customSorting && ((camType == CameraType.Game && (frameCount++) % 10 == 0) || !Application.isPlaying)) { |
|
||||||
effectDistanceComparer.camPos = cam.transform.position; |
|
||||||
HighlightEffect.effects.Sort(effectDistanceComparer); |
|
||||||
} |
|
||||||
|
|
||||||
for (int k = 0; k < count; k++) { |
|
||||||
HighlightEffect effect = HighlightEffect.effects[k]; |
|
||||||
|
|
||||||
if (!(effect.ignoreObjectVisibility || effect.isVisible)) continue; |
|
||||||
|
|
||||||
if (!effect.isActiveAndEnabled) continue; |
|
||||||
|
|
||||||
if (camType == CameraType.Reflection && !effect.reflectionProbes) continue; |
|
||||||
|
|
||||||
if ((effect.camerasLayerMask & camLayer) == 0) continue; |
|
||||||
|
|
||||||
effect.SetCommandBuffer(passData.cmd); |
|
||||||
effect.BuildCommandBuffer(passData.camera, passData.colorTarget, passData.depthTarget, passData.clearStencil); |
|
||||||
passData.clearStencil = false; |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
#if UNITY_2023_3_OR_NEWER |
|
||||||
public override void RecordRenderGraph(RenderGraph renderGraph, ContextContainer frameData) { |
|
||||||
|
|
||||||
using (var builder = renderGraph.AddUnsafePass<PassData>("Highlight Plus Pass RG", out var passData)) { |
|
||||||
|
|
||||||
builder.AllowPassCulling(false); |
|
||||||
|
|
||||||
passData.clearStencil = clearStencil; |
|
||||||
passData.camera = frameData.Get<UniversalCameraData>().camera; |
|
||||||
|
|
||||||
UniversalResourceData resourceData = frameData.Get<UniversalResourceData>(); |
|
||||||
passData.colorTexture = resourceData.activeColorTexture; |
|
||||||
passData.depthTexture = resourceData.activeDepthTexture; |
|
||||||
|
|
||||||
builder.UseTexture(resourceData.activeColorTexture, AccessFlags.ReadWrite); |
|
||||||
builder.UseTexture(resourceData.activeDepthTexture, AccessFlags.Read); |
|
||||||
builder.UseTexture(resourceData.cameraDepthTexture, AccessFlags.Read); |
|
||||||
|
|
||||||
ConfigureInput(ScriptableRenderPassInput.Depth); |
|
||||||
|
|
||||||
builder.SetRenderFunc((PassData passData, UnsafeGraphContext context) => { |
|
||||||
CommandBuffer cmd = CommandBufferHelpers.GetNativeCommandBuffer(context.cmd); |
|
||||||
passData.cmd = cmd; |
|
||||||
passData.colorTarget = passData.colorTexture; |
|
||||||
passData.depthTarget = passData.depthTexture; |
|
||||||
ExecutePass(passData); |
|
||||||
}); |
|
||||||
} |
|
||||||
} |
|
||||||
#endif |
|
||||||
} |
|
||||||
|
|
||||||
HighlightPass renderPass; |
|
||||||
public RenderPassEvent renderPassEvent = RenderPassEvent.AfterRenderingTransparents; |
|
||||||
[Tooltip("Clears stencil buffer before rendering highlight effects. This option can solve compatibility issues with shaders that also use stencil buffers.")] |
|
||||||
public bool clearStencil; |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// Makes the effects visible in Edit mode. |
|
||||||
/// </summary> |
|
||||||
[Tooltip("If enabled, effects will be visible also in Edit mode (when not in Play mode).")] |
|
||||||
public bool previewInEditMode = true; |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// Makes the effects visible in Edit mode. |
|
||||||
/// </summary> |
|
||||||
[Tooltip("If enabled, effects will be visible also in Preview camera (preview camera shown when a camera is selected in Editor).")] |
|
||||||
public bool showInPreviewCamera = true; |
|
||||||
|
|
||||||
|
|
||||||
public static bool installed; |
|
||||||
public static bool showingInEditMode; |
|
||||||
|
|
||||||
const string PREVIEW_CAMERA_NAME = "Preview Camera"; |
|
||||||
|
|
||||||
void OnDisable() { |
|
||||||
installed = false; |
|
||||||
} |
|
||||||
|
|
||||||
public override void Create() { |
|
||||||
renderPass = new HighlightPass(); |
|
||||||
} |
|
||||||
|
|
||||||
// This method is called when setting up the renderer once per-camera. |
|
||||||
public override void AddRenderPasses(ScriptableRenderer renderer, ref RenderingData renderingData) { |
|
||||||
|
|
||||||
showingInEditMode = previewInEditMode; |
|
||||||
Camera cam = renderingData.cameraData.camera; |
|
||||||
|
|
||||||
#if UNITY_EDITOR |
|
||||||
if (!previewInEditMode && !Application.isPlaying) { |
|
||||||
return; |
|
||||||
} |
|
||||||
if (cam.cameraType == CameraType.Preview) { |
|
||||||
return; |
|
||||||
} |
|
||||||
if (!showInPreviewCamera && PREVIEW_CAMERA_NAME.Equals(cam.name)) { |
|
||||||
return; |
|
||||||
} |
|
||||||
#endif |
|
||||||
|
|
||||||
#if UNITY_2019_4_OR_NEWER |
|
||||||
if (renderingData.cameraData.renderType == CameraRenderType.Base) { |
|
||||||
renderPass.usesCameraOverlay = cam.GetUniversalAdditionalCameraData().cameraStack.Count > 0; |
|
||||||
} |
|
||||||
#endif |
|
||||||
renderPass.Setup(this, renderer); |
|
||||||
renderer.EnqueuePass(renderPass); |
|
||||||
installed = true; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -1,11 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 473a86c9e274347dfbdde619584cebe9 |
|
||||||
MonoImporter: |
|
||||||
externalObjects: {} |
|
||||||
serializedVersion: 2 |
|
||||||
defaultReferences: [] |
|
||||||
executionOrder: 0 |
|
||||||
icon: {instanceID: 0} |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,134 +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: bf2edee5c58d82540a51f03df9d42094, type: 3} |
|
||||||
m_Name: UniversalRenderPipelineAsset |
|
||||||
m_EditorClassIdentifier: |
|
||||||
k_AssetVersion: 12 |
|
||||||
k_AssetPreviousVersion: 12 |
|
||||||
m_RendererType: 1 |
|
||||||
m_RendererData: {fileID: 0} |
|
||||||
m_RendererDataList: |
|
||||||
- {fileID: 11400000, guid: 47db18f3169384f6b87445e6447e189e, type: 2} |
|
||||||
m_DefaultRendererIndex: 0 |
|
||||||
m_RequireDepthTexture: 1 |
|
||||||
m_RequireOpaqueTexture: 0 |
|
||||||
m_OpaqueDownsampling: 1 |
|
||||||
m_SupportsTerrainHoles: 1 |
|
||||||
m_SupportsHDR: 1 |
|
||||||
m_HDRColorBufferPrecision: 0 |
|
||||||
m_MSAA: 2 |
|
||||||
m_RenderScale: 1 |
|
||||||
m_UpscalingFilter: 0 |
|
||||||
m_FsrOverrideSharpness: 0 |
|
||||||
m_FsrSharpness: 0.92 |
|
||||||
m_EnableLODCrossFade: 1 |
|
||||||
m_LODCrossFadeDitheringType: 1 |
|
||||||
m_ShEvalMode: 0 |
|
||||||
m_LightProbeSystem: 0 |
|
||||||
m_ProbeVolumeMemoryBudget: 1024 |
|
||||||
m_ProbeVolumeBlendingMemoryBudget: 256 |
|
||||||
m_SupportProbeVolumeGPUStreaming: 0 |
|
||||||
m_SupportProbeVolumeDiskStreaming: 0 |
|
||||||
m_SupportProbeVolumeScenarios: 0 |
|
||||||
m_SupportProbeVolumeScenarioBlending: 0 |
|
||||||
m_ProbeVolumeSHBands: 1 |
|
||||||
m_MainLightRenderingMode: 1 |
|
||||||
m_MainLightShadowsSupported: 1 |
|
||||||
m_MainLightShadowmapResolution: 2048 |
|
||||||
m_AdditionalLightsRenderingMode: 1 |
|
||||||
m_AdditionalLightsPerObjectLimit: 4 |
|
||||||
m_AdditionalLightShadowsSupported: 0 |
|
||||||
m_AdditionalLightsShadowmapResolution: 512 |
|
||||||
m_AdditionalLightsShadowResolutionTierLow: 128 |
|
||||||
m_AdditionalLightsShadowResolutionTierMedium: 256 |
|
||||||
m_AdditionalLightsShadowResolutionTierHigh: 512 |
|
||||||
m_ReflectionProbeBlending: 0 |
|
||||||
m_ReflectionProbeBoxProjection: 0 |
|
||||||
m_ShadowDistance: 50 |
|
||||||
m_ShadowCascadeCount: 1 |
|
||||||
m_Cascade2Split: 0.25 |
|
||||||
m_Cascade3Split: {x: 0.1, y: 0.3} |
|
||||||
m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467} |
|
||||||
m_CascadeBorder: 0.1 |
|
||||||
m_ShadowDepthBias: 1 |
|
||||||
m_ShadowNormalBias: 1 |
|
||||||
m_AnyShadowsSupported: 1 |
|
||||||
m_SoftShadowsSupported: 1 |
|
||||||
m_ConservativeEnclosingSphere: 0 |
|
||||||
m_NumIterationsEnclosingSphere: 64 |
|
||||||
m_SoftShadowQuality: 2 |
|
||||||
m_AdditionalLightsCookieResolution: 2048 |
|
||||||
m_AdditionalLightsCookieFormat: 3 |
|
||||||
m_UseSRPBatcher: 1 |
|
||||||
m_SupportsDynamicBatching: 0 |
|
||||||
m_MixedLightingSupported: 1 |
|
||||||
m_SupportsLightCookies: 1 |
|
||||||
m_SupportsLightLayers: 0 |
|
||||||
m_DebugLevel: 0 |
|
||||||
m_StoreActionsOptimization: 0 |
|
||||||
m_UseAdaptivePerformance: 1 |
|
||||||
m_ColorGradingMode: 0 |
|
||||||
m_ColorGradingLutSize: 32 |
|
||||||
m_UseFastSRGBLinearConversion: 0 |
|
||||||
m_SupportDataDrivenLensFlare: 1 |
|
||||||
m_SupportScreenSpaceLensFlare: 1 |
|
||||||
m_GPUResidentDrawerMode: 0 |
|
||||||
m_SmallMeshScreenPercentage: 0 |
|
||||||
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0 |
|
||||||
m_ShadowType: 1 |
|
||||||
m_LocalShadowsSupported: 0 |
|
||||||
m_LocalShadowsAtlasResolution: 256 |
|
||||||
m_MaxPixelLights: 0 |
|
||||||
m_ShadowAtlasResolution: 256 |
|
||||||
m_VolumeFrameworkUpdateMode: 0 |
|
||||||
m_VolumeProfile: {fileID: 0} |
|
||||||
apvScenesData: |
|
||||||
obsoleteSceneBounds: |
|
||||||
m_Keys: [] |
|
||||||
m_Values: [] |
|
||||||
obsoleteHasProbeVolumes: |
|
||||||
m_Keys: [] |
|
||||||
m_Values: |
|
||||||
m_PrefilteringModeMainLightShadows: 1 |
|
||||||
m_PrefilteringModeAdditionalLight: 4 |
|
||||||
m_PrefilteringModeAdditionalLightShadows: 1 |
|
||||||
m_PrefilterXRKeywords: 0 |
|
||||||
m_PrefilteringModeForwardPlus: 1 |
|
||||||
m_PrefilteringModeDeferredRendering: 1 |
|
||||||
m_PrefilteringModeScreenSpaceOcclusion: 1 |
|
||||||
m_PrefilterDebugKeywords: 0 |
|
||||||
m_PrefilterWriteRenderingLayers: 0 |
|
||||||
m_PrefilterHDROutput: 0 |
|
||||||
m_PrefilterSSAODepthNormals: 0 |
|
||||||
m_PrefilterSSAOSourceDepthLow: 0 |
|
||||||
m_PrefilterSSAOSourceDepthMedium: 0 |
|
||||||
m_PrefilterSSAOSourceDepthHigh: 0 |
|
||||||
m_PrefilterSSAOInterleaved: 0 |
|
||||||
m_PrefilterSSAOBlueNoise: 0 |
|
||||||
m_PrefilterSSAOSampleCountLow: 0 |
|
||||||
m_PrefilterSSAOSampleCountMedium: 0 |
|
||||||
m_PrefilterSSAOSampleCountHigh: 0 |
|
||||||
m_PrefilterDBufferMRT1: 0 |
|
||||||
m_PrefilterDBufferMRT2: 0 |
|
||||||
m_PrefilterDBufferMRT3: 0 |
|
||||||
m_PrefilterSoftShadowsQualityLow: 0 |
|
||||||
m_PrefilterSoftShadowsQualityMedium: 0 |
|
||||||
m_PrefilterSoftShadowsQualityHigh: 0 |
|
||||||
m_PrefilterSoftShadows: 0 |
|
||||||
m_PrefilterScreenCoord: 0 |
|
||||||
m_PrefilterNativeRenderPass: 0 |
|
||||||
m_PrefilterUseLegacyLightmaps: 0 |
|
||||||
m_ShaderVariantLogLevel: 0 |
|
||||||
m_ShadowCascades: 0 |
|
||||||
m_Textures: |
|
||||||
blueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, type: 3} |
|
||||||
bayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, type: 3} |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 7cb1de89cd1dc44c5be43a3f6664fb90 |
|
||||||
NativeFormatImporter: |
|
||||||
externalObjects: {} |
|
||||||
mainObjectFileID: 0 |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|
@ -1,420 +0,0 @@ |
|||||||
************************************** |
|
||||||
* HIGHLIGHT PLUS * |
|
||||||
* Created by Ramiro Oliva (Kronnect) * |
|
||||||
* README FILE * |
|
||||||
************************************** |
|
||||||
|
|
||||||
|
|
||||||
Notice about Universal Rendering Pipeline |
|
||||||
----------------------------------------- |
|
||||||
This package is designed for URP. |
|
||||||
It requires Unity 2019.3 and URP 7.1.6 or later |
|
||||||
To install the plugin correctly: |
|
||||||
|
|
||||||
1) Make sure you have Universal Rendering Pipeline asset installed (from Package Manager). |
|
||||||
2) Go to Project Settings / Graphics. |
|
||||||
3) Double click the Universal Rendering Pipeline asset. |
|
||||||
4) Double click the Forward Renderer asset. |
|
||||||
5) Click "+" to add the Highlight Plus Renderer Feature to the list of the Forward Renderer Features. |
|
||||||
|
|
||||||
Note: URP assets can be assigned to Settings / Graphics and also Settings / Quality. Check both sections! |
|
||||||
|
|
||||||
You can also find a HighlightPlusForwardRenderer asset in the Highlight Plus / Pipelines / URP folder. |
|
||||||
Make sure the Highlight Plus Scriptable Renderer Feature is listed in the Renderer Features of the Forward Renderer in the pipeline asset. |
|
||||||
|
|
||||||
Video instructions: https://youtu.be/d4onpE5RDNs |
|
||||||
|
|
||||||
|
|
||||||
Quick help: how to use this asset? |
|
||||||
---------------------------------- |
|
||||||
|
|
||||||
1) Highlighting specific objects: add HighlightEffect.cs script to any GameObject. Customize the appearance options. |
|
||||||
In the Highlight Effect inspector, you can specify which objects, in addition to this one, are also affected by the effect: |
|
||||||
a) Only this object |
|
||||||
b) This object and its children |
|
||||||
c) All objects from the root to the children |
|
||||||
d) All objects belonging to a layer |
|
||||||
|
|
||||||
2) Control highlight effect when mouse is over: |
|
||||||
Add HighlightTrigger.cs script to the GameObject. It will activate highlight on the gameobject when mouse pass over it. |
|
||||||
|
|
||||||
3) Highlighting any object in the scene: |
|
||||||
Select top menu GameObject -> Effects -> Highlight Plus -> Create Manager. |
|
||||||
Customize appearance and behaviour of Highlight Manager. Those settings are default settings for all objects. If you want different settings for certain objects just add another HighlightEffect script to each different object. The manager will use those settings. |
|
||||||
|
|
||||||
4) Make transparent shaders compatible with See-Through effect: |
|
||||||
If you want the See-Through effect be seen through other transparent objects, they need to be modified so they write to depth buffer (by default transparent objects do not write to z-buffer). |
|
||||||
To do so, select top menu GameObject -> Effects -> Highlight Plus -> Add Depth To Transparent Object. |
|
||||||
|
|
||||||
5) Static batching: |
|
||||||
Objects marked as "static" need a MeshCollider in order to be highlighted. This is because Unity combines the meshes of static objects so it's not possible to highlight individual objects if their meshes are combined. |
|
||||||
To allow highlighting static objects make sure they have a MeshCollider attached (the MeshCollider can be disabled). |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Help & Support Forum |
|
||||||
-------------------- |
|
||||||
|
|
||||||
Check the Documentation folder for detailed instructions: |
|
||||||
|
|
||||||
Have any question or issue? |
|
||||||
* Support-Web: https://kronnect.com/support |
|
||||||
* Support-Discord: https://discord.gg/EH2GMaM |
|
||||||
* Email: contact@kronnect.com |
|
||||||
* Twitter: @Kronnect |
|
||||||
|
|
||||||
If you like Highlight Plus, please rate it on the Asset Store. It encourages us to keep improving it! Thanks! |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Future updates |
|
||||||
-------------- |
|
||||||
|
|
||||||
All our assets follow an incremental development process by which a few beta releases are published on our support forum (kronnect.com). |
|
||||||
We encourage you to signup and engage our forum. The forum is the primary support and feature discussions medium. |
|
||||||
|
|
||||||
Of course, all updates of Highlight Plus will be eventually available on the Asset Store. |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
More Cool Assets! |
|
||||||
----------------- |
|
||||||
Check out our other assets here: |
|
||||||
https://assetstore.unity.com/publishers/15018 |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Version history |
|
||||||
--------------- |
|
||||||
|
|
||||||
Version 20.0.1 |
|
||||||
- [Fix] Fixed GPU instancing on skinned mesh renderers |
|
||||||
|
|
||||||
Version 20.0 |
|
||||||
- Added support for Unity 2023.3 RenderGraph |
|
||||||
- Option to use RegEx for the Include Object Name Filter |
|
||||||
- To avoid requiring the New Input System package, the "Old" input system is now used if "Both" option is enabled in Project Settings |
|
||||||
- [Fix] Fixes for fast domain reload |
|
||||||
- [Fix] Fixed: calling SelectObject while fading out from a previous UnSelectObject would fail |
|
||||||
|
|
||||||
Version 12.1 |
|
||||||
- Added dithering style option to outer glow effect |
|
||||||
- Added "use enclosing bounds" option to Target FX effect |
|
||||||
- See-through border is now combined with multiple children |
|
||||||
|
|
||||||
Version 12.0 |
|
||||||
- Upgraded to Unity 2021.3.16 |
|
||||||
- Outline: added "Sharpness" property to control the bluriness of outline in Highest Quality mode |
|
||||||
- API: added HighlightEffect.lastHighlighted and HighlightEffect.lastSelected static fields |
|
||||||
- [Fix] API: fixes an issue with Unselect method of Highlight Plus manager |
|
||||||
|
|
||||||
Version 11.3 |
|
||||||
- Overlay effect: added Texture Scrolling option for non-triplanar uv space mode. |
|
||||||
- API: added "OnHighlightStateChange" event. This event triggers as soon as the highlight state changes, regardless of any fade in/out effect |
|
||||||
|
|
||||||
Version 11.2 |
|
||||||
- Change: removed "Glow Ignore Mask" and replaced by "Mask Mode" |
|
||||||
- Added "Mask Mode" to Outline section |
|
||||||
- API: added HighlightEffect.useUnscaledTime option |
|
||||||
- [Fix] Fixed fade out option issue with see-through effect |
|
||||||
|
|
||||||
Version 11.1 |
|
||||||
- See-through: added "Children Sorting Mode" option |
|
||||||
- [Fix] Fixed outline clipping issue in VR when near to camera |
|
||||||
|
|
||||||
Version 11.0.2 |
|
||||||
- Added support for split screen cameras |
|
||||||
|
|
||||||
Version 11.0 |
|
||||||
- Added "Show In Preview Camera" option to Highlight Plus render feature |
|
||||||
- Preview in Editor option has moved to the Highlight Plus render feature |
|
||||||
- Outline improvements in highest quality mode |
|
||||||
- Added Glow Blur Method option: Gaussian (higher quality, default) or Kawase (faster) |
|
||||||
- Option to optimize skinned mesh data when using outline/outer glow with mesh-based rendering. Reduces draw calls significantly. |
|
||||||
|
|
||||||
Version 10.2.2 |
|
||||||
- [Fix] Occluder system now ignores particle renderers |
|
||||||
- [Fix] Fixed rendering sorting issue when several highlighted objects share same position |
|
||||||
|
|
||||||
Version 10.2 |
|
||||||
- Added "Contour Style" option: 1) around visible parts, or 2) around object shape |
|
||||||
|
|
||||||
Version 10.1 |
|
||||||
- Two outline edge modes are now available when Outline Quality is set to High, allowing to render interior edges |
|
||||||
- Added "Inner Glow Blend Mode" option |
|
||||||
|
|
||||||
Version 10.0 |
|
||||||
- Added support for sprites. Compatible effects: outline, glow, overlay, target and hit fx. |
|
||||||
- Added "Overlay Visibility" option |
|
||||||
- Fixes |
|
||||||
|
|
||||||
Version 9.6 |
|
||||||
- Added new "UV Space" options to Overlay effect (now: triplanar, object space or screen space) |
|
||||||
- Added mask texture and "UV Space" options to See-Through effect |
|
||||||
- Camera Distance Fade now also affects the see-through effect |
|
||||||
|
|
||||||
Version 9.5 |
|
||||||
- Outline: added Color Style property and new Gradient option |
|
||||||
- Internal buffer for highest quality outline/glow format changed to R8 format to reduce memory and improve performance on mobile |
|
||||||
- API: Refresh(discardCachedMeshes): added discardCachedMeshes optional parameter to force refresh of cached meshes (useful for combined meshes that have changed) |
|
||||||
|
|
||||||
Version 9.4 |
|
||||||
- Highlight See Through Occluder: added mode for triggering the see-through offect on sprites and transparent objects |
|
||||||
- Performance optimizations when using a high number of Highlight Effect components in the scene |
|
||||||
- [Fix] Fixed shader compatibility issue on PS4 |
|
||||||
|
|
||||||
Version 9.3 |
|
||||||
- Overlay: added "Mode" option (only when highlighted or always) |
|
||||||
- Nested highlight effects are now included unless the 'Ignore' option is selected |
|
||||||
- Cached meshes are now reconstructed when calling the Refresh() method |
|
||||||
|
|
||||||
Version 9.2 |
|
||||||
- Improved shared mesh cache handling |
|
||||||
- Improved see-through camera-layer based detection |
|
||||||
|
|
||||||
Version 9.1.2 |
|
||||||
- [Fix] Fixed outline/glow distortion due to floating point math issues at distant positions from origin |
|
||||||
- [Fix] Fixed VR issue in Unity 2022.1 with Single Pass Instanced |
|
||||||
|
|
||||||
Version 9.1.1 |
|
||||||
- [Fix] Fixed potential issue with Unity 2021.2 related to depthCameraAttachment handling |
|
||||||
|
|
||||||
Version 9.1 |
|
||||||
- Added support for Unity 2022 |
|
||||||
- Added Layer Mask option to Highlight Trigger |
|
||||||
- Added "Keep Selection" option in Highlight Manager and Highlight Trigger |
|
||||||
- [Fix] Fixed a potential issue that could exceed the maximum 64k vertices when combining meshes |
|
||||||
|
|
||||||
Version 9.0 |
|
||||||
- Added "Camera Distance Fade" option |
|
||||||
- Improved see-through accurate method which now takes into account multi-part meshes from compound parents |
|
||||||
- [Fix] Fixed glow/outline aspect ratio in Single Pass Instanced VR mode |
|
||||||
|
|
||||||
Version 8.5 |
|
||||||
- Improved outline effect when combining "Independent" option with many elements in "Children" selection |
|
||||||
- Improved see-through border only effect |
|
||||||
|
|
||||||
Version 8.4.1 |
|
||||||
- [Fix] Fixed unnecessary memory allocation in the render feature |
|
||||||
|
|
||||||
Version 8.4 |
|
||||||
- Added "Border Only" option to See-Through effect |
|
||||||
- Adding a Highlight Effect component to a parent no longer deactivates highlighted children |
|
||||||
|
|
||||||
Version 8.3 |
|
||||||
- Upgraded to Unity 2020.3.16 as minimum |
|
||||||
|
|
||||||
Version 8.2 |
|
||||||
- Added "Ignore Mask" option to glow. Can be used to render the glow effect alone |
|
||||||
- [Fix] Fixed issue with new input system and highlight manager/trigger if no Event System is present in the scene |
|
||||||
- [Fix] Fixed glow passes UI overlap in Unity 2021.3.3 due to reorderable array bug |
|
||||||
|
|
||||||
Version 8.1 |
|
||||||
- Selection state is now visible in inspector (used only by trigger and manager components) |
|
||||||
- [Fix] Fixed outer glow not showing in higher quality with visibility set to normal and orthographic camera |
|
||||||
- [Fix] Fixed mobile input using the new input system |
|
||||||
- [Fix] Fixed outline settings mismatch when using a combination of Highlight Trigger and Manager |
|
||||||
|
|
||||||
Version 8.0 |
|
||||||
- Added SelectObject / ToggleObject / UnselectObject methods to Highlight Manager |
|
||||||
- Added ability to apply custom sorting to effects (check documentation: Custom sorting section) |
|
||||||
- Independent option is now moved to Highlight Options section and affects both outline and glow |
|
||||||
- Added "Clear Stencil" option to Highlight Plus Render Feature (useful to solve compatibility with other assets that use stencil buffers) |
|
||||||
|
|
||||||
Version 7.9.2 |
|
||||||
- [Fix] Fixed an issue in Unity 2021.2 when using MSAA and High Quality outline/glow |
|
||||||
|
|
||||||
Version 7.9.1 |
|
||||||
- Default values for all effects are now 0 (disabled) except outline so desired effects must be enabled. This option allows you to ensure no extra/undesired effects are activated by mistake |
|
||||||
- Redesigned Highlight Plus Profile editor interface |
|
||||||
- Removed dependency of HighlightManager |
|
||||||
|
|
||||||
Version 7.8 |
|
||||||
- Added outer glow blend mode option |
|
||||||
- API: added OnObjectHighlightStart/End events to HighlightTrigger (check documentation for differences with similar events on Highlight Effect main script) |
|
||||||
- [Fix] API: Fixed specific issues with SetTarget method when used on shader graph based materials that don't use standard texture names |
|
||||||
|
|
||||||
Version 7.7.2 |
|
||||||
- [Fix] Fixed fade in/out issue when disabling/enabling objects |
|
||||||
|
|
||||||
Version 7.7 |
|
||||||
- Added support for the new Input System |
|
||||||
- [Fix] Fixes to the align to ground option of target fx effect |
|
||||||
|
|
||||||
Version 7.6.2 |
|
||||||
- [Fix] VR: fixed target effect "Align to Ground" issue with Single Pass Instanced |
|
||||||
|
|
||||||
Version 7.6.1 |
|
||||||
- [Fix] Fixed overlay animation speed issue |
|
||||||
|
|
||||||
Version 7.6 |
|
||||||
- Added "Target FX Align to Ground" option |
|
||||||
- Added isSeeThroughOccluded(camera). Is true when any see-through occluder using raycast mode is blocking the see-through effect |
|
||||||
- All shader keywords are now of local type reducing global keyword usage |
|
||||||
- Fixes and improvements to see-through when combined with outline/outer glow |
|
||||||
|
|
||||||
Version 7.5.2 |
|
||||||
- [Fix] See-through is now visible when using glow/outline/inner glow with Always Visible option |
|
||||||
|
|
||||||
Version 7.5.1 |
|
||||||
- [Fix] Fixed regression bug with Outline in High Quality mode |
|
||||||
|
|
||||||
Version 7.5 |
|
||||||
- Added new HitFX style: "Local Hit" |
|
||||||
- Added new demo scene showcasing the HitFx variations |
|
||||||
- Added "Overlay Texture" option |
|
||||||
- Added "Min Distance" option to Highlight Manager and Highlight Trigger |
|
||||||
- Added support for "Domain Reload" disabled option |
|
||||||
- API: added OnObjectHighlightStart, OnObjectHighlightEnd events to HighlightManager |
|
||||||
- [Fix] Fixed inner glow and overlay issue when MaterialPropertyBlock is used on the character material |
|
||||||
|
|
||||||
Version 7.1 |
|
||||||
- Added "Respect UI" to Highlight Manager and Trigger which blocks interaction if pointer is over an UI element |
|
||||||
|
|
||||||
Version 7.0.2 |
|
||||||
- Memory optimizations |
|
||||||
|
|
||||||
Version 7.0 |
|
||||||
- Added support for Single Pass Instanced |
|
||||||
- Internal improvements and fixes |
|
||||||
|
|
||||||
Version 6.9 |
|
||||||
- Added "Ordered" option to see-through |
|
||||||
- Removed "Non Overlap" option from see-through as now it pervents overdraw by default |
|
||||||
|
|
||||||
Version 6.8 |
|
||||||
- Improvements to see-through rendering order |
|
||||||
- [Fix] Fixed properties not being reflected in scene immediately when invoking Undo |
|
||||||
|
|
||||||
Version 6.7 |
|
||||||
- Added "SeeThrough Max Depth" option. Limits the visibility of the see-through effect to certain distance from the occluders |
|
||||||
- Added "SeeThrough Check Individual Objects" option. If enabled, occlusion test is performed for each individual child of the object, instead of using combined bounds |
|
||||||
|
|
||||||
Version 6.6 |
|
||||||
- Added "SeeThrough Depth Offset" option. This option allows you to control the minimum distance from the occluder to the object before showing the see-through effect |
|
||||||
- Added "SeeThrough Non Overlap" option. Enable it only if the see-through effect produces flickering due to overlapping geometry in the hidden object |
|
||||||
- [Fix] Fixed properties not being reflected in scene immediately when invoking Undo |
|
||||||
|
|
||||||
Version 6.5.2 |
|
||||||
- Added inspector tooltips and improved documentation |
|
||||||
|
|
||||||
Version 6.5.1 |
|
||||||
- Calling ProfileLoad() method will now assign that profile to the highlight effect component in addition to loading its values |
|
||||||
- Prevents _Time overflow which can cause glitching on some Android devices |
|
||||||
|
|
||||||
Version 6.5 |
|
||||||
- Name filter now is ignored when effect group is set to Only This Object |
|
||||||
- New shader "HighlightPlus/Geometry/UIMask" to cancel highlight effects when rendering through a UI Canvas (see documentation) |
|
||||||
|
|
||||||
Version 6.4 |
|
||||||
- Added "Cameras Layer Mask" to specify which cameras can render the effects |
|
||||||
- Hit FX color in Highlight Profile now exposes HDR color options |
|
||||||
|
|
||||||
Version 6.3.1 |
|
||||||
- Added "Single Selection" option to Highlight Manager/Trigger |
|
||||||
- Added "Toggle" option to Highlight Manager/Trigger |
|
||||||
- Selection is cleared now when clicking anywhere in the scene (requires Highlight Manager) |
|
||||||
- API: added SetGlowColor |
|
||||||
- Improved Highlight Manager inspector |
|
||||||
|
|
||||||
Version 6.2 |
|
||||||
- Added TargetFX Scale To Object Bounds (defaults to false) |
|
||||||
- Added support for HDR color to Hit FX color field |
|
||||||
- Option to list occluders in the inspector when See Through Occluder Mask "Accurate" option is enabled |
|
||||||
|
|
||||||
Version 6.1 |
|
||||||
- Added more accurate occluder layer system ("Accurate" option) |
|
||||||
- Added default hit fx settings to inspector & profile |
|
||||||
- Added hit fx modes (overlay or inner glow) |
|
||||||
|
|
||||||
Version 6.0 |
|
||||||
- Added Selection feature |
|
||||||
- Inspector: sections can be now collapsed to reduce screen space |
|
||||||
- API: added OnObjectSelected / OnObjectUnSelected events |
|
||||||
|
|
||||||
Version 5.5 4/Apr/2021 |
|
||||||
- [Fix] Fixed glow overlay when MSAA is disabled on Windows |
|
||||||
|
|
||||||
Version 5.4 5/Feb/2021 |
|
||||||
- Added Visibility option to targete effect |
|
||||||
- Stencil mask is no longer computed when only overlay or inner glow is used improving performance |
|
||||||
|
|
||||||
Version 5.3.4 22/01/2021 |
|
||||||
- Optimizations to material setters |
|
||||||
- [Fix] Fixed outline color issue with quality level set to medium |
|
||||||
|
|
||||||
Version 5.3.3 |
|
||||||
- Effects now reflect object transform changes when combines meshes option is enabled |
|
||||||
|
|
||||||
Version 5.3 |
|
||||||
- Added "Combine Meshes" option to profile |
|
||||||
- Optimizations and fixes |
|
||||||
|
|
||||||
Version 5.2 |
|
||||||
- Added "Object Name Filter" option to profile |
|
||||||
|
|
||||||
Version 5.1 |
|
||||||
- Added "Border When Hidden" effect (outline when see-through triggers) |
|
||||||
|
|
||||||
Version 5.0.1 |
|
||||||
- Added support for Unity 2020.2 beta |
|
||||||
|
|
||||||
Version 5.0 |
|
||||||
- API: added "TargetFX" method to programmatically start the target effect |
|
||||||
- Added support for double-sided shader effects |
|
||||||
|
|
||||||
Version 4.9 |
|
||||||
- Added "Medium" quality level |
|
||||||
|
|
||||||
Version 4.8.2 |
|
||||||
- [Fix] Fixed issue with outline set to fastest and glow using highest in latest URP version |
|
||||||
|
|
||||||
Version 4.8.1 |
|
||||||
- [Fix] Fixed issue with outline/glow when overlay cameras are present on the stack |
|
||||||
|
|
||||||
Version 4.8 |
|
||||||
- Added "Outer Glow Blend Passes" option |
|
||||||
- [Fix] Fixed outline & glow issue with alpha cutout when using non-highest quality mode |
|
||||||
|
|
||||||
Version 4.7 |
|
||||||
- Added "Normals Option" with Smooth, Preserve and Reorient variants to improve results |
|
||||||
- Target effect now only renders once per gameobject if a specific target transform is specified |
|
||||||
- API: added OnTargetAnimates. Allows you to override center, rotation and scale of target effect on a per-frame basis. |
|
||||||
|
|
||||||
Version 4.6 |
|
||||||
- Added "SubMesh Mask" which allows to exclude certain submeshes |
|
||||||
- [Fix] Fixed shader compilation issue with Single Pass Instanced mode enabled |
|
||||||
|
|
||||||
Version 4.4 |
|
||||||
- Exposed "Smooth Normals" option in inspector. |
|
||||||
|
|
||||||
Version 4.3.2 |
|
||||||
- Added HitFX effect |
|
||||||
- Improvements to SeeThrough Occluder when Detection Mode is set to RayCast |
|
||||||
|
|
||||||
Version 4.3.1 |
|
||||||
- [Fix] Fixed issue with Highlight Effect Occluder script |
|
||||||
|
|
||||||
Version 4.3 |
|
||||||
- Added GPU instancing support for outline / outer glow effects |
|
||||||
|
|
||||||
Version 4.2.2 |
|
||||||
- [Fix] Fixed effect being rendered when object is outside of frustum camera |
|
||||||
|
|
||||||
Version 4.2.1 |
|
||||||
- Profile: added "Constant Width" property |
|
||||||
- Enabled HDR color picker to Color properties |
|
||||||
- [Fix] Fixed missing outline with flat surfaces like quads under certain angles |
|
||||||
|
|
||||||
Version 4.2 |
|
||||||
- Glow/Outline downsampling option added to profiles |
|
||||||
- [Fix] Removed VR API usage console warning |
|
||||||
|
|
||||||
Version 4.1 |
|
||||||
- Added Outline Independent option |
|
||||||
- [Fix] Fixed error when highlight script is added to an empty gameobject |
|
||||||
|
|
||||||
Version 4.0 |
|
||||||
- Support for URP Scriptable Rendering Feature |
|
@ -1,8 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 53265a9967ed548efaf71f5807638781 |
|
||||||
timeCreated: 1542901568 |
|
||||||
licenseType: Store |
|
||||||
TextScriptImporter: |
|
||||||
userData: |
|
||||||
assetBundleName: |
|
||||||
assetBundleVariant: |
|