This commit is contained in:
Gerard Gascón 2025-04-24 17:37:25 +02:00
commit 341a877b4a
2338 changed files with 1346408 additions and 0 deletions

View file

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 29774ff11ed31ee4d9c8bebc8eaab309
folderAsset: yes
timeCreated: 1441032760
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 798c42d0f311cc64f866979e82c1f3ba
folderAsset: yes
timeCreated: 1441032760
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 1039ef92232abf64d92fd50cfc3cdb07
folderAsset: yes
timeCreated: 1441032760
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,179 @@
using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomPropertyDrawer(typeof(MinMaxCustomSlider))]
public class MinMaxCustomSliderDrawer : PropertyDrawer
{
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{
SerializedProperty showGroup = property.FindPropertyRelative("ShowGroup");
if (!showGroup.boolValue)
return 16;
SerializedProperty CompareMethod = property.FindPropertyRelative("CompareMethod");
if (CompareMethod.enumValueIndex != 2) //!= ExactAngle
{
MinMaxCustomSlider slider = (MinMaxCustomSlider)attribute;
if (slider.PropertyWidth<250)
return 130;
else
return 150;
}
else
return 64f;
}
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
EditorGUI.BeginProperty(position, label, property);
int indent = EditorGUI.indentLevel;
//positions
Rect groupPos = new Rect(position.x, position.y, position.width, 16);
//Rect namePos = new Rect(position.x, position.y + 16, position.width, 16);
Rect comparePos = new Rect(position.x, position.y + 20, position.width, 20);
//variables
SerializedProperty PropertyName = property.FindPropertyRelative("Name");
SerializedProperty MinValue = property.FindPropertyRelative("MinValue");
SerializedProperty MaxValue = property.FindPropertyRelative("MaxValue");
SerializedProperty MinLimit = property.FindPropertyRelative("MinLimit");
SerializedProperty MaxLimit = property.FindPropertyRelative("MaxLimit");
SerializedProperty ExactValue = property.FindPropertyRelative("ExactValue");
SerializedProperty CompareMethod = property.FindPropertyRelative("CompareMethod");
SerializedProperty showGroup = property.FindPropertyRelative("ShowGroup");
MinMaxCustomSlider slider = (MinMaxCustomSlider)attribute;
slider.PropertyWidth = position.width;
//default values
SetupDefaultValues(MinValue, MaxValue, MinLimit, MaxLimit, PropertyName, ExactValue, showGroup);
//controls
showGroup.boolValue = EditorGUI.Foldout(groupPos, showGroup.boolValue, PropertyName.stringValue);
//works good
// if(property.isExpanded)
// showGroup.boolValue = EditorGUI.Foldout(groupPos, showGroup.boolValue, PropertyName.stringValue);
// else
// EditorGUI.LabelField(groupPos, PropertyName.stringValue);
if (showGroup.boolValue)
{
EditorGUI.indentLevel++;
//PropertyName.stringValue = EditorGUI.TextField(namePos, "Name", PropertyName.stringValue);
// EditorGUI.HandlePrefixLabel(new Rect(comparePos.x, comparePos.y, 92, comparePos.height),
// new Rect(comparePos.x, comparePos.y, 92, comparePos.height),
// new GUIContent("Custom Range:"));
// EditorGUI.PropertyField(new Rect(comparePos.x + 95, comparePos.y, comparePos.width, comparePos.height), CompareMethod, GUIContent.none);
EditorGUI.PropertyField(comparePos, CompareMethod);
if (CompareMethod.enumValueIndex == 0 //ValueRangeCompareMethod.ValueInsideRange)
|| CompareMethod.enumValueIndex == 1)//ValueRangeCompareMethod.ValueOutsideRange)
{
if (position.width < 250)
{
//positions
Rect slidePos = new Rect(position.x, position.y + 40, position.width, 16);
Rect minPos = new Rect(position.x, position.y + 60, position.width, 16);
Rect maxPos = new Rect(position.x, position.y + 78, position.width, 16);
Rect minLimitPos = new Rect(position.x, position.y + 104, position.width, 16);
Rect maxLimitPos = new Rect(position.x, position.y + 122, position.width, 16);
//controls
MinValue.floatValue = EditorGUI.FloatField(minPos, new GUIContent("MinValue"), MinValue.floatValue);
MaxValue.floatValue = EditorGUI.FloatField(maxPos, new GUIContent("MaxValue"), MaxValue.floatValue);
MinLimit.floatValue = EditorGUI.FloatField(minLimitPos, new GUIContent("MinLimit"), MinLimit.floatValue);
MaxLimit.floatValue = EditorGUI.FloatField(maxLimitPos, new GUIContent("MaxLimit"), MaxLimit.floatValue);
float minVal = MinValue.floatValue;
float maxVal = MaxValue.floatValue;
EditorGUI.MinMaxSlider(new GUIContent("Range"),
slidePos,
ref minVal, ref maxVal,
MinLimit.floatValue, MaxLimit.floatValue);
MinValue.floatValue = minVal;
MaxValue.floatValue = maxVal;
}
else
{
Rect slidePos = new Rect(position.x + 48, position.y + 48, position.width - 106, 16);
//positions
Rect minLimitPos = new Rect(position.x, position.y + 48, 72, 16);
Rect maxLimitPos = new Rect(position.x + position.width - 72, position.y + 48, 72, 16);
Rect minPos = new Rect(position.x, position.y + 74, position.width, 16);
Rect maxPos = new Rect(position.x, position.y + 92, position.width, 16);
if (EditorGUI.indentLevel < 2)
{
minLimitPos = new Rect(position.x, position.y + 48, 57, 16);
maxLimitPos = new Rect(position.x + position.width - 57, position.y + 48, 57, 16);
}
//controls
MinValue.floatValue = EditorGUI.FloatField(minPos, new GUIContent("MinValue"), MinValue.floatValue);
MaxValue.floatValue = EditorGUI.FloatField(maxPos, new GUIContent("MaxValue"), MaxValue.floatValue);
MinLimit.floatValue = EditorGUI.FloatField(minLimitPos, GUIContent.none, MinLimit.floatValue);
MaxLimit.floatValue = EditorGUI.FloatField(maxLimitPos, GUIContent.none, MaxLimit.floatValue);
float minVal = MinValue.floatValue;
float maxVal = MaxValue.floatValue;
EditorGUI.MinMaxSlider(GUIContent.none,
slidePos,
ref minVal, ref maxVal,
MinLimit.floatValue, MaxLimit.floatValue);
MinValue.floatValue = minVal;
MaxValue.floatValue = maxVal;
}
}
else //ExactAngle
{
Rect exactValPos = new Rect(position.x, position.y + 44, position.width, 16);
EditorGUI.PropertyField(exactValPos, ExactValue);
}
}
EditorGUI.indentLevel = indent;
EditorGUI.EndProperty();
}
void SetupDefaultValues(SerializedProperty MinValue, SerializedProperty MaxValue, SerializedProperty MinLimit, SerializedProperty MaxLimit,
SerializedProperty PropertyName, SerializedProperty ExactValue, SerializedProperty showGroup)
{
if (MinValue.floatValue == 0 && MaxValue.floatValue == 0
&& MinLimit.floatValue == 0 && MaxLimit.floatValue == 0)
{
MinValue.floatValue = -45;
MaxValue.floatValue = 45;
MinLimit.floatValue = -90;
MaxLimit.floatValue = 90;
ExactValue.floatValue = 45;
PropertyName.stringValue = "Value Range";
showGroup.boolValue = true;
}
}
}

View file

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: dfdd32516482b164c9b1a0ecfaf5880b
timeCreated: 1439388012
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 6a815c5a4a443104c86f1354ff165d82
folderAsset: yes
timeCreated: 1441032771
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,68 @@
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ValueRangeExamples : MonoBehaviour
{
//different usage examples
[Header("Visibility example")]
public float currentViewAngleOffset = 0;
[MinMaxCustomSlider]
public ValueRange VisibilityZone;
[Header("Valid attack angle example")]
public float currentTargetAngleOffset = 0;
[MinMaxCustomSlider]
public List<ValueRange> ValidAttackAngles;
[Header("Change Gear Zones example")]
public float currentSpeed = 120;
[MinMaxCustomSlider]
public ValueRange[] GearChangeThresholds;
void OnEnable()
{
bool validRange = false;
//visibility zone example
if(VisibilityZone.IsValidAngle(currentViewAngleOffset))
Debug.Log("Character can see the target!");
else
Debug.Log("Character cannot see the target.");
//angle range example
foreach (ValueRange valueRange in ValidAttackAngles)
{
if(valueRange.IsValidAngle(currentTargetAngleOffset))
{
Debug.Log("Valid character attack angle to target!");
validRange = true;
break;
}
}
if(validRange == false)
Debug.Log("Character is not in valid attack angle to target.");
validRange = false;
//min max range example
foreach (ValueRange valueRange in GearChangeThresholds)
{
if(valueRange.IsValid(currentSpeed))
{
Debug.Log("Perfect Gear change!");
validRange = true;
break;
}
}
if(validRange == false)
Debug.Log("Gear change was made outside perfect zone.");
}
}

View file

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 70787bdd26a0cb74695e459cdc5240e1
timeCreated: 1441032859
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: b45a23b1b981b9e49b0530ac7a1943c6
folderAsset: yes
timeCreated: 1441032760
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
using UnityEngine;
using System.Collections;
[System.Serializable]
public class MinMaxCustomSlider : PropertyAttribute
{
public float PropertyWidth = 300;
}

View file

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 882d7c6c31d763d46a433183a7b9be38
timeCreated: 1439388171
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,69 @@
using UnityEngine;
using System.Collections;
public enum ValueRangeCompareMethod
{
ValueInsideRange,
ValueOutsideRange,
ExactValue
}
[System.Serializable]
public class ValueRange : System.Object
{
public ValueRange(string _name)
{
Name = _name;
}
public string Name = "Value Range";
public float MinValue = -45;
public float MaxValue = 45;
public float MinLimit = -90;
public float MaxLimit = 90;
public float ExactValue = 45;
public ValueRangeCompareMethod CompareMethod;
//We need to keep individual track of expanded groups since attributes holds it for the entire list
[HideInInspector]
public bool ShowGroup = true;
public bool IsValid(float value)
{
if(CompareMethod == ValueRangeCompareMethod.ValueInsideRange)
{
return MinValue <= value && value <= MaxValue;
}
else if(CompareMethod == ValueRangeCompareMethod.ValueOutsideRange)
{
return value < MinValue || MaxValue < value;
}
else
{
return value == ExactValue;
}
}
public bool IsValidAngle(float value)
{
if(CompareMethod == ValueRangeCompareMethod.ValueInsideRange)
{
value = Mathf.DeltaAngle(0, value);
return MinValue <= value && value <= MaxValue;
}
else if(CompareMethod == ValueRangeCompareMethod.ValueOutsideRange)
{
value = Mathf.DeltaAngle(0, value);
return value < MinValue || MaxValue < value;
}
else
{
return value == ExactValue;
}
}
}

View file

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: bb7d93a4be37e124fbe3fef16ad84114
timeCreated: 1439388887
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,322 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 0
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
m_MixedBakeMode: 1
m_BakeBackend: 0
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 512
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 0
m_PVRDenoiserTypeDirect: 0
m_PVRDenoiserTypeIndirect: 0
m_PVRDenoiserTypeAO: 0
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 0
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 46ff9c3cb6bc573418c2d4b49020b032, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &213211545
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 213211547}
- component: {fileID: 213211546}
m_Layer: 0
m_Name: Examples - (Hit Play!)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &213211546
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 213211545}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 70787bdd26a0cb74695e459cdc5240e1, type: 3}
m_Name:
m_EditorClassIdentifier:
currentViewAngleOffset: -0.54
VisibilityZone:
Name: Condition Name
MinValue: -28.685795
MaxValue: 52.613293
MinLimit: -90
MaxLimit: 90
ExactValue: 45
CompareMethod: 0
ShowGroup: 1
currentTargetAngleOffset: 150
ValidAttackAngles:
- Name: Frontal Attack
MinValue: -35
MaxValue: 35
MinLimit: -90
MaxLimit: 90
ExactValue: 45
CompareMethod: 0
ShowGroup: 1
- Name: Back Positive Angles
MinValue: 145
MaxValue: 215
MinLimit: 90
MaxLimit: 270
ExactValue: 45
CompareMethod: 0
ShowGroup: 1
currentSpeed: 120
GearChangeThresholds:
- Name: 1st Gear
MinValue: 15
MaxValue: 35
MinLimit: 0
MaxLimit: 60
ExactValue: 45
CompareMethod: 0
ShowGroup: 1
- Name: 2nd Gear
MinValue: 70
MaxValue: 76
MinLimit: 60
MaxLimit: 90
ExactValue: 45
CompareMethod: 0
ShowGroup: 1
- Name: 3rd Gear
MinValue: 98
MaxValue: 102
MinLimit: 90
MaxLimit: 110
ExactValue: 45
CompareMethod: 0
ShowGroup: 1
- Name: 4th Gear
MinValue: 118
MaxValue: 125
MinLimit: 110
MaxLimit: 150
ExactValue: 45
CompareMethod: 0
ShowGroup: 1
--- !u!4 &213211547
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 213211545}
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: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1823075663
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1823075668}
- component: {fileID: 1823075667}
- component: {fileID: 1823075665}
- component: {fileID: 1823075664}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &1823075664
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1823075663}
m_Enabled: 1
--- !u!124 &1823075665
Behaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1823075663}
m_Enabled: 1
--- !u!20 &1823075667
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1823075663}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &1823075668
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1823075663}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 856a56948628a304fad6c9360ae9f956
timeCreated: 1441035583
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,63 @@
%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: ValueRange ExamplesSettings
serializedVersion: 2
m_GIWorkflowMode: 1
m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 0
m_RealtimeEnvironmentLighting: 1
m_BounceScale: 1
m_AlbedoBoost: 1
m_IndirectOutputScale: 1
m_UsingShadowmask: 0
m_BakeBackend: 0
m_LightmapMaxSize: 1024
m_BakeResolution: 40
m_Padding: 2
m_TextureCompression: 1
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 0
m_CompAOExponentDirect: 0
m_ExtractAO: 0
m_MixedBakeMode: 1
m_LightmapsBakeMode: 1
m_FilterMode: 1
m_LightmapParameters: {fileID: 0}
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_RealtimeResolution: 2
m_ForceWhiteAlbedo: 0
m_ForceUpdates: 0
m_FinalGather: 0
m_FinalGatherRayCount: 1024
m_FinalGatherFiltering: 1
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_PVRRussianRouletteStartBounce: 2
m_PVREnvironmentMIS: 0
m_PVRFilteringMode: 0
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

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 46ff9c3cb6bc573418c2d4b49020b032
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant: