├── .gitignore
├── .npmignore
├── .yamato
├── LightAssistant-pack.yml
├── LightAssistant-promotion.yml
├── LightAssistant-publish.yml
├── LightAssistant-test.yml
├── LightAssistant-updated-dependencies-test.yml
└── LightAssistant.metafile
├── CHANGELOG.md
├── CHANGELOG.md.meta
├── CONTRIBUTING.md
├── CONTRIBUTING.md.meta
├── Documentation~
└── index.md
├── Editor.meta
├── Editor
├── HandleExt.cs
├── HandleExt.cs.meta
├── LightAssistantWindow.cs
├── LightAssistantWindow.cs.meta
├── LightRelationshipsEditor.asmdef
├── LightRelationshipsEditor.asmdef.meta
├── LightRelationshipsEditorWindow.cs
└── LightRelationshipsEditorWindow.cs.meta
├── LICENSE.md
├── LICENSE.md.meta
├── LightAssistant~
├── Assets
│ ├── Scenes.meta
│ └── Scenes
│ │ ├── SampleScene.unity
│ │ └── SampleScene.unity.meta
├── Packages
│ ├── com.unity.light-assistant
│ │ ├── Editor
│ │ ├── Editor.meta
│ │ ├── Tests
│ │ ├── Tests.meta
│ │ ├── package.json
│ │ └── package.json.meta
│ ├── manifest.json
│ └── packages-lock.json
└── ProjectSettings
│ ├── AudioManager.asset
│ ├── ClusterInputManager.asset
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── GraphicsSettings.asset
│ ├── InputManager.asset
│ ├── NavMeshAreas.asset
│ ├── PackageManagerSettings.asset
│ ├── Physics2DSettings.asset
│ ├── PresetManager.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── UnityConnectSettings.asset
│ ├── VFXManager.asset
│ └── XRSettings.asset
├── README.md
├── README.md.meta
├── Tests.meta
├── Tests
├── Editor.meta
├── Editor
│ ├── EditorTests.cs
│ ├── EditorTests.cs.meta
│ ├── com.unity.lightassistant.tests.editor.asmdef
│ └── com.unity.lightassistant.tests.editor.asmdef.meta
├── Runtime.meta
└── Runtime
│ ├── RuntimeTests.cs
│ ├── RuntimeTests.cs.meta
│ ├── com.unity.lightassistant.tests.runtime.asmdef
│ └── com.unity.lightassistant.tests.runtime.asmdef.meta
├── package.json
└── package.json.meta
/.gitignore:
--------------------------------------------------------------------------------
1 | [Ll]ibrary/
2 | [Tt]emp/
3 | [Oo]bj/
4 | [Bb]uild/
5 | [Bb]uilds/
6 | Assets/AssetStoreTools*
7 |
8 | # Visual Studio cache directory
9 | .vs/
10 |
11 | # Autogenerated VS/MD/Consulo solution and project files
12 | ExportedObj/
13 | .consulo/
14 | *.csproj
15 | *.unityproj
16 | *.sln
17 | *.suo
18 | *.tmp
19 | *.user
20 | *.userprefs
21 | *.pidb
22 | *.booproj
23 | *.svd
24 | *.pdb
25 | *.opendb
26 |
27 | # Unity3D generated meta files
28 | *.pidb.meta
29 | *.pdb.meta
30 |
31 | # Unity3D Generated File On Crash Reports
32 | sysinfo.txt
33 |
34 | # Builds
35 | *.apk
36 | *.unitypackage
37 |
38 | # Unity Logs
39 | LightAssistant~/Logs/*
40 |
41 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | artifacts/**
2 | build/**
3 | .build_script/**
4 | node_modules/**
5 | Documentation/ApiDocs/**
6 | Documentation~/ApiDocs/**
7 | LightAssistant~/**
8 | .DS_Store
9 | .npmrc
10 | .npmignore
11 | .gitignore
12 | CONTRIBUTING.md
13 | CONTRIBUTING.md.meta
14 | QAReport.md
15 | QAReport.md.meta
16 | .gitlab-ci.yml
17 | build.sh
18 | build.sh.meta
19 | build.bat
20 | build.bat.meta
21 | *.cmd
22 | *.cmd.meta
23 |
24 |
25 |
--------------------------------------------------------------------------------
/.yamato/LightAssistant-pack.yml:
--------------------------------------------------------------------------------
1 | {% metadata_file .yamato/LightAssistant.metafile %}
2 |
3 | ---
4 | pack:
5 | name: Pack {{ yamato_name }}
6 | agent:
7 | type: Unity::VM
8 | image: package-ci/win10:stable
9 | flavor: b1.large
10 | commands:
11 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
12 | - upm-ci package pack
13 | artifacts:
14 | {{ yamato_name }}_pack_artifacts:
15 | paths:
16 | - "upm-ci~/**/*"
17 |
18 |
--------------------------------------------------------------------------------
/.yamato/LightAssistant-promotion.yml:
--------------------------------------------------------------------------------
1 | {% metadata_file .yamato/LightAssistant.metafile %}
2 |
3 | ---
4 | {% for editor in test_editors %}
5 | {% for platform in test_platforms %}
6 | promotion_test_{{ platform.name }}_{{ editor.version }}:
7 | name : {{ yamato_name }} Promotion Test {{ editor.version }} on {{ platform.name }}
8 | agent:
9 | type: {{ platform.type }}
10 | image: {{ platform.image }}
11 | flavor: {{ platform.flavor}}
12 | variables:
13 | UPMCI_PROMOTION: 1
14 | commands:
15 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
16 | - upm-ci package test --unity-version {{ editor.version }}
17 | artifacts:
18 | {{ yamato_name }}_promotion_test_artifacts:
19 | paths:
20 | - "upm-ci~/test-results/**/*"
21 | dependencies:
22 | - .yamato/{{ yamato_name }}-pack.yml#pack
23 | {% endfor %}
24 | {% endfor %}
25 |
26 | promote:
27 | name: Promote {{ yamato_name }} to Production
28 | agent:
29 | type: Unity::VM
30 | image: package-ci/win10:stable
31 | flavor: b1.large
32 | variables:
33 | UPMCI_PROMOTION: 1
34 | commands:
35 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
36 | - upm-ci package promote
37 | triggers:
38 | tags:
39 | only:
40 | - /^(r|R)elease-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
41 | artifacts:
42 | {{ yamato_name }}_promote_artifacts:
43 | paths:
44 | - "upm-ci~/packages/*.tgz"
45 | dependencies:
46 | - .yamato/{{ yamato_name }}-pack.yml#pack
47 | {% for editor in test_editors %}
48 | {% for platform in test_platforms %}
49 | - .yamato/{{ yamato_name }}-promotion.yml#promotion_test_{{ platform.name }}_{{ editor.version }}
50 | {% endfor %}
51 | {% endfor %}
52 |
--------------------------------------------------------------------------------
/.yamato/LightAssistant-publish.yml:
--------------------------------------------------------------------------------
1 | {% metadata_file .yamato/LightAssistant.metafile %}
2 |
3 | ---
4 | publish:
5 | name: Publish {{ yamato_name }} to Internal Registry
6 | agent:
7 | type: Unity::VM
8 | image: package-ci/win10:stable
9 | flavor: b1.large
10 | commands:
11 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
12 | - upm-ci package publish
13 | triggers:
14 | tags:
15 | only:
16 | - /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
17 | artifacts:
18 | {{ yamato_name }}_publish_artifacts:
19 | paths:
20 | - "upm-ci~/packages/*.tgz"
21 | dependencies:
22 | - .yamato/{{ yamato_name }}-pack.yml#pack
23 | {% for editor in test_editors %}
24 | {% for platform in test_platforms %}
25 | - .yamato/{{ yamato_name }}-test.yml#test_{{ platform.name }}_{{ editor.version }}
26 | {% endfor %}
27 | {% endfor %}
28 |
29 | publish_dry_run:
30 | name: Publish Dry Run {{ yamato_name }} to Internal Registry
31 | agent:
32 | type: Unity::VM
33 | image: package-ci/win10:stable
34 | flavor: b1.large
35 | commands:
36 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
37 | - upm-ci package publish --dry-run
38 | triggers:
39 | tags:
40 | only:
41 | - /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
42 | artifacts:
43 | {{ yamato_name }}_publish_dry_run_artifacts:
44 | paths:
45 | - "upm-ci~/packages/*.tgz"
46 | dependencies:
47 | - .yamato/{{ yamato_name }}-pack.yml#pack
48 | {% for editor in test_editors %}
49 | {% for platform in test_platforms %}
50 | - .yamato/{{ yamato_name }}-test.yml#test_{{ platform.name }}_{{ editor.version }}
51 | {% endfor %}
52 | {% endfor %}
53 |
54 |
--------------------------------------------------------------------------------
/.yamato/LightAssistant-test.yml:
--------------------------------------------------------------------------------
1 | {% metadata_file .yamato/LightAssistant.metafile %}
2 |
3 | ---
4 |
5 | {% for editor in test_editors %}
6 | {% for platform in test_platforms %}
7 | test_{{ platform.name }}_{{ editor.version }}:
8 | name : Test {{ yamato_name }} using {{ editor.version }} on {{ platform.name }}
9 | agent:
10 | type: {{ platform.type }}
11 | image: {{ platform.image }}
12 | flavor: {{ platform.flavor}}
13 | commands:
14 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
15 | - upm-ci package test --unity-version {{ editor.version }} --enable-code-coverage --code-coverage-options 'generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.{{yamato_name}},+Unity.{{yamato_name}}.Editor,-Unity.{{yamato_name}}.Tests,-Unity.{{yamato_name}}.EditorTests'
16 | artifacts:
17 | {{ yamato_name }}_test_artifacts:
18 | paths:
19 | - "upm-ci~/test-results/**/*"
20 | dependencies:
21 | - .yamato/{{ yamato_name }}-pack.yml#pack
22 | {% endfor %}
23 | {% endfor %}
24 |
25 | test_trigger:
26 | name: Tests Trigger for {{ yamato_name }}
27 | agent:
28 | type: Unity::VM
29 | image: package-ci/ubuntu:stable
30 | flavor: b1.large
31 | commands:
32 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
33 | - upm-ci package izon -t
34 | triggers:
35 | branches:
36 | only:
37 | - "/.*/"
38 | except:
39 | - "dev"
40 | recurring:
41 | - branch: dev
42 | frequency: daily
43 | rerun: on_new_revision
44 |
45 | dependencies:
46 | - .yamato/{{ yamato_name }}-pack.yml#pack
47 | {% for editor in test_editors %}
48 | {% for platform in test_platforms %}
49 | - .yamato/{{ yamato_name }}-test.yml#test_{{platform.name}}_{{editor.version}}
50 | {% endfor %}
51 | {% endfor %}
52 |
--------------------------------------------------------------------------------
/.yamato/LightAssistant-updated-dependencies-test.yml:
--------------------------------------------------------------------------------
1 | {% metadata_file .yamato/LightAssistant.metafile %}
2 |
3 | ---
4 |
5 | {% for editor in test_editors %}
6 | {% for platform in test_platforms %}
7 | dependency_{{ platform.name }}_{{ editor.version }}:
8 | name : Dependency Test {{ yamato_name }} using {{ editor.version }} on {{ platform.name }}
9 | agent:
10 | type: {{ platform.type }}
11 | image: {{ platform.image }}
12 | flavor: {{ platform.flavor}}
13 | commands:
14 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
15 | - upm-ci package test -u {{ editor.version }} --type updated-dependencies-tests
16 | artifacts:
17 | {{ yamato_name }}_dependency_artifacts:
18 | paths:
19 | - "upm-ci~/test-results/**/*"
20 | dependencies:
21 | - .yamato/{{ yamato_name }}-pack.yml#pack
22 | {% endfor %}
23 | {% endfor %}
24 |
25 | dependency_test_trigger:
26 | name: Dependency Tests Trigger for {{ yamato_name }}
27 | agent:
28 | type: Unity::VM
29 | image: package-ci/ubuntu:stable
30 | flavor: b1.large
31 | commands:
32 | - npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
33 | - upm-ci package izon -d
34 | artifacts:
35 | {{ yamato_name }}_dependency_test_trigger_artifacts:
36 | paths:
37 | - "upm-ci~/test-results/**/*"
38 | {{ yamato_name }}_dependency_test_packages:
39 | paths:
40 | - "upm-ci~/packages/**/*"
41 | triggers:
42 | branches:
43 | only:
44 | - "/.*/"
45 | except:
46 | - "dev"
47 | recurring:
48 | - branch: dev
49 | frequency: daily
50 | rerun: on_new_revision
51 |
52 | dependencies:
53 | - .yamato/{{ yamato_name }}-pack.yml#pack
54 | {% for editor in test_editors %}
55 | {% for platform in test_platforms %}
56 | - .yamato/{{ yamato_name }}-updated-dependencies-test.yml#dependency_{{platform.name}}_{{editor.version}}
57 | {% endfor %}
58 | {% endfor %}
59 |
--------------------------------------------------------------------------------
/.yamato/LightAssistant.metafile:
--------------------------------------------------------------------------------
1 | yamato_name: LightAssistant
2 |
3 | test_editors:
4 | - version: 2019.4
5 | - version: 2020.2
6 | - version: trunk
7 | test_platforms:
8 | - name: win
9 | type: Unity::VM
10 | image: package-ci/win10:stable
11 | flavor: b1.medium
12 | - name: mac
13 | type: Unity::VM::osx
14 | image: package-ci/mac:stable
15 | flavor: m1.mac
16 | - name: linux
17 | type: Unity::VM
18 | image: package-ci/ubuntu:stable
19 | flavor: b1.medium
20 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 | All notable changes to this package will be documented in this file.
3 |
4 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5 | and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6 |
7 | ## [1.0.0-pre.1] - 2020-10-09
8 |
9 | Prepare for pre-release.
10 |
11 | ## [0.0.1-preview] - 2020-10-07
12 |
13 | Updated xmldocs for public classes.
14 |
15 | ## [0.0.1-dev] - 2020-01-27
16 |
17 | Updated API to use Selection Groups 0.0.3-dev. Now using -dev suffix to reflect the very-much-still-in-development state of this package.
18 |
19 | ## [0.0.0-preview] - 2019-10-01
20 |
21 | The first release.
22 |
23 |
--------------------------------------------------------------------------------
/CHANGELOG.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 889669595e09ed24ba30be63e6ab7694
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 |
3 | ## If you are interested in contributing, here are some ground rules:
4 | * ... Define guidelines & rules for what contributors need to know to successfully make Pull requests against your repo ...
5 |
6 | ## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement)
7 | By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions.
8 |
9 | ## Once you have a change ready following these ground rules. Simply make a pull request
10 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: db8e7e0eabe717e4eb72c10d835bebc8
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Documentation~/index.md:
--------------------------------------------------------------------------------
1 | # LightAssistant
2 |
--------------------------------------------------------------------------------
/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 93c9cd84e0cc91746b6ffbfedeb97c5e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Editor/HandleExt.cs:
--------------------------------------------------------------------------------
1 | using UnityEditor;
2 | using UnityEngine;
3 |
4 | namespace Unity.LightRelationships
5 | {
6 | internal class HandleExt {
7 | ///
8 | /// Implements an adjustable cone handle.
9 | ///
10 | ///
11 | ///
12 | ///
13 | ///
14 | ///
15 | ///
16 | ///
17 | public static Vector2 DoConeHandle(Quaternion rotation, Vector3 position, Vector2 angleAndRange, float angleScale, float rangeScale, bool handlesOnly)
18 | {
19 | float spotAngle = angleAndRange.x;
20 | float range = angleAndRange.y;
21 | float actualRange = range * rangeScale;
22 |
23 | Vector3 forward = rotation * Vector3.forward;
24 | Vector3 up = rotation * Vector3.up;
25 | Vector3 right = rotation * Vector3.right;
26 |
27 | // Range handle at the center of the circle
28 | bool temp = GUI.changed;
29 | GUI.changed = false;
30 | actualRange = SizeSlider(position, forward, actualRange);
31 | if (GUI.changed)
32 | range = Mathf.Max(0.0F, actualRange / rangeScale);
33 | GUI.changed |= temp;
34 |
35 | // Angle handles on circle
36 | temp = GUI.changed;
37 | GUI.changed = false;
38 |
39 | float lightDisc = actualRange * Mathf.Tan(Mathf.Deg2Rad * spotAngle / 2.0f) * angleScale;
40 | lightDisc = SizeSlider(position + forward * actualRange, up, lightDisc);
41 | lightDisc = SizeSlider(position + forward * actualRange, -up, lightDisc);
42 | lightDisc = SizeSlider(position + forward * actualRange, right, lightDisc);
43 | lightDisc = SizeSlider(position + forward * actualRange, -right, lightDisc);
44 | if (GUI.changed)
45 | spotAngle = Mathf.Clamp((Mathf.Rad2Deg * Mathf.Atan(lightDisc / (actualRange * angleScale)) * 2), 0.0F, 179F);
46 | GUI.changed |= temp;
47 |
48 | // Draw disc
49 | if (!handlesOnly)
50 | {
51 | Handles.DrawLine(position, (position + forward * actualRange) + up * lightDisc);
52 | Handles.DrawLine(position, (position + forward * actualRange) - up * lightDisc);
53 | Handles.DrawLine(position, (position + forward * actualRange) + right * lightDisc);
54 | Handles.DrawLine(position, (position + forward * actualRange) - right * lightDisc);
55 | Handles.DrawWireDisc(position + actualRange * forward, forward, lightDisc);
56 | }
57 |
58 | return new Vector2(spotAngle, range);
59 | }
60 |
61 | static internal float SizeSlider(Vector3 p, Vector3 d, float r)
62 | {
63 | Vector3 position = p + d * r;
64 | float size = HandleUtility.GetHandleSize(position);
65 | bool temp = GUI.changed;
66 | GUI.changed = false;
67 | position = Handles.Slider(position, d, size * 0.03f, Handles.DotHandleCap, 0f);
68 | if (GUI.changed)
69 | r = Vector3.Dot(position - p, d);
70 | GUI.changed |= temp;
71 | return r;
72 | }
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/Editor/HandleExt.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dd77e587539e4e84a92e323387e8575d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Editor/LightAssistantWindow.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reflection;
5 | using System.Text;
6 | using Unity.SelectionGroups;
7 | using UnityEditor;
8 | using UnityEditor.SceneManagement;
9 | using UnityEditorInternal;
10 | using UnityEngine;
11 | using UnityEngine.SceneManagement;
12 |
13 | namespace Unity.LightRelationships
14 | {
15 | ///
16 | /// Editor window to provide access to light assistant functionality.
17 | ///
18 | internal class LightAssistantWindow : EditorWindow
19 | {
20 | static Color SCENE_SELECTION_COLOR = new Color(1, 1, 0, 0.15f);
21 | static Color GUI_SELECTION_COLOR = new Color(1, 1, 0, 1);
22 | static Color kGizmoLight = new Color(254 / 255f, 253 / 255f, 136 / 255f, 128 / 255f);
23 | static Color kGizmoDisabledLight = new Color(135 / 255f, 116 / 255f, 50 / 255f, 128 / 255f);
24 |
25 |
26 | Vector2 scroll;
27 | static LightAssistantWindow editorWindow;
28 | List lights = new List();
29 | List lightObjects = new List();
30 | Dictionary> otherObjects = new Dictionary>();
31 |
32 | int hotLightIndex = -1;
33 | int lastHotLightIndex = -1;
34 | bool showAllRelations = true;
35 | bool showLightGizmos = true;
36 |
37 | [MenuItem("Window/General/Light Assistant")]
38 | static void OpenWindow()
39 | {
40 | var window = EditorWindow.GetWindow();
41 | window.ShowUtility();
42 | }
43 |
44 | void OnEnable()
45 | {
46 | titleContent.text = "Light Assistant";
47 | editorWindow = this;
48 | SceneView.duringSceneGui -= DuringSceneGUI;
49 | SceneView.duringSceneGui += DuringSceneGUI;
50 | EditorApplication.update -= OnUpdate;
51 | EditorApplication.update += OnUpdate;
52 | OnSelectionChange();
53 | }
54 |
55 | void OnDisable()
56 | {
57 | editorWindow = null;
58 | SceneView.duringSceneGui -= DuringSceneGUI;
59 | EditorApplication.update -= OnUpdate;
60 | }
61 |
62 | void OnUpdate()
63 | {
64 | //If the light being modified has changed, ping the hierarchy view and repaint the window.
65 | if (lastHotLightIndex != hotLightIndex)
66 | {
67 | lastHotLightIndex = hotLightIndex;
68 | if (hotLightIndex >= 0)
69 | {
70 | EditorGUIUtility.PingObject(lights[hotLightIndex].gameObject);
71 | }
72 | Repaint();
73 | }
74 | }
75 |
76 | void DuringSceneGUI(SceneView sceneView)
77 | {
78 | if (Selection.activeTransform != null)
79 | for (var i = 0; i < lights.Count; i++)
80 | {
81 | var light = lights[i];
82 | var lightPosition = light.transform.position;
83 | var handleSize = HandleUtility.GetHandleSize(lightPosition) * 0.45f;
84 | if (Handles.Button(lightPosition, Quaternion.LookRotation(sceneView.camera.transform.forward), handleSize, handleSize, Handles.CircleHandleCap))
85 | {
86 | hotLightIndex = i;
87 | }
88 |
89 | if (showLightGizmos)
90 | {
91 | DrawLightGizmos(i);
92 | }
93 |
94 | if (hotLightIndex == i)
95 | {
96 | DecorateSelectedLight(sceneView, light);
97 | }
98 |
99 | if (showAllRelations)
100 | {
101 | ShowAllLightRelationships(i);
102 | }
103 | else
104 | {
105 | ShowCurrentlySelectedLightRelationship(Selection.activeTransform, light);
106 | }
107 | }
108 | }
109 |
110 | void ShowCurrentlySelectedLightRelationship(Transform selectedRenderer, Light light)
111 | {
112 | var pos = selectedRenderer.position;
113 | var isOutOfRange = IsOutOfRange(light, pos);
114 | Handles.color = light.color;
115 | if (isOutOfRange)
116 | Handles.DrawDottedLine(pos, light.transform.position, 5);
117 | else
118 | Handles.DrawAAPolyLine(3, pos, light.transform.position);
119 | }
120 |
121 | void ShowAllLightRelationships(int index)
122 | {
123 | var light = lights[index];
124 | foreach (var otherObject in otherObjects[index])
125 | {
126 | var pos = otherObject.transform.position;
127 | var isOutOfRange = IsOutOfRange(light, pos);
128 | Handles.color = light.color;
129 | if (isOutOfRange)
130 | Handles.DrawDottedLine(pos, light.transform.position, 5);
131 | else
132 | Handles.DrawAAPolyLine(3, pos, light.transform.position);
133 | }
134 | }
135 |
136 | static void DecorateSelectedLight(SceneView sceneView, Light light)
137 | {
138 | Handles.color = SCENE_SELECTION_COLOR;
139 | Handles.DrawSolidDisc(light.transform.position, sceneView.camera.transform.forward, HandleUtility.GetHandleSize(light.transform.position)*0.44f);
140 | }
141 |
142 | void DrawLightGizmos(int index)
143 | {
144 | var light = lights[index];
145 | var lightPosition = light.transform.position;
146 | EditorGUI.BeginChangeCheck();
147 | var rotation = light.transform.rotation;
148 | var range = light.range;
149 | var angleAndRange = new Vector2(light.spotAngle, light.range);
150 |
151 | if (light.type == LightType.Point)
152 | {
153 | DrawPointLightGUI(light, ref lightPosition, rotation, ref range);
154 | }
155 |
156 | if (light.type == LightType.Spot)
157 | {
158 | Handles.TransformHandle(ref lightPosition, ref rotation);
159 | Handles.color = light.enabled ? kGizmoDisabledLight : kGizmoDisabledLight;
160 | angleAndRange = HandleExt.DoConeHandle(rotation, lightPosition, angleAndRange, 1.0f, 1.0f, false);
161 | }
162 |
163 | if (light.type == LightType.Directional)
164 | {
165 | DrawDirectionalLightGUI(light, ref lightPosition, ref rotation);
166 | }
167 |
168 | if (EditorGUI.EndChangeCheck())
169 | {
170 | UpdateLightProperties(index, light, lightPosition, rotation, range, angleAndRange);
171 | Repaint();
172 | }
173 |
174 | }
175 |
176 | void UpdateLightProperties(int index, Light light, Vector3 lightPosition, Quaternion rotation, float range, Vector2 angleAndRange)
177 | {
178 | Undo.RecordObject(light.transform, "Modify Light");
179 | light.transform.position = lightPosition;
180 | light.transform.rotation = rotation;
181 | if (light.type == LightType.Spot)
182 | {
183 | light.spotAngle = angleAndRange.x;
184 | light.range = Mathf.Max(0.01f, angleAndRange.y);
185 | }
186 | else
187 | light.range = Mathf.Max(0.01f, range);
188 | //set the active editing light to currently edited light.
189 | hotLightIndex = index;
190 | lightObjects[index].Update();
191 | }
192 |
193 | bool IsOutOfRange(Light light, Vector3 position)
194 | {
195 | switch (light.type)
196 | {
197 | case LightType.Point:
198 | return Vector3.Distance(light.transform.position, position) > light.range;
199 | case LightType.Spot:
200 | return Vector3.Distance(light.transform.position, position) > light.range
201 | ||
202 | Vector3.Angle(Vector3.forward, light.transform.InverseTransformPoint(position).normalized) > light.spotAngle * 0.5f;
203 | default:
204 | return false;
205 | }
206 |
207 | }
208 |
209 | static void DrawDirectionalLightGUI(Light light, ref Vector3 position, ref Quaternion rotation)
210 | {
211 | Handles.TransformHandle(ref position, ref rotation);
212 | Handles.color = light.enabled ? kGizmoDisabledLight : kGizmoDisabledLight; ;
213 | var point = new Vector3(0, 1, 0);
214 | var handleScale = HandleUtility.GetHandleSize(light.transform.position);
215 | for (var x = 0; x < 8; x++)
216 | {
217 | var p = light.transform.TransformPoint(Quaternion.Euler(0, 0, x * (360f / 8)) * Vector3.up * handleScale * 0.25f);
218 | Handles.DrawLine(p, p + light.transform.forward * handleScale);
219 | }
220 | }
221 |
222 | static void DrawPointLightGUI(Light light, ref Vector3 position, Quaternion rotation, ref float range)
223 | {
224 | Handles.color = light.enabled ? kGizmoDisabledLight : kGizmoDisabledLight; ;
225 | position = Handles.PositionHandle(position, Quaternion.identity);
226 | range = Handles.RadiusHandle(rotation, position, range, handlesOnly: false);
227 | }
228 |
229 | void OnSelectionChange()
230 | {
231 | var renderers = (from i in Selection.gameObjects select i.GetComponent());
232 | var layerMask = 0;
233 | foreach (var i in renderers)
234 | {
235 | if (i != null)
236 | {
237 | layerMask |= 1 << i.gameObject.layer;
238 | }
239 | }
240 | lights.Clear();
241 | lights.AddRange(from i in GameObject.FindObjectsOfType() where (i.cullingMask & layerMask) != 0 select i);
242 | lightObjects.Clear();
243 | foreach (var i in lights)
244 | {
245 | lightObjects.Add(new SerializedObject(i));
246 | }
247 | hotLightIndex = -1;
248 | otherObjects.Clear();
249 |
250 | var allRenderers = GameObject.FindObjectsOfType();
251 |
252 | for (var i = 0; i < lights.Count; i++)
253 | {
254 | var lightList = otherObjects[i] = new List();
255 | for (var j = 0; j < allRenderers.Length; j++)
256 | {
257 | var o = allRenderers[j];
258 | if ((1 << o.gameObject.layer & lights[i].cullingMask) != 0)
259 | {
260 | lightList.Add(o.gameObject);
261 | }
262 | }
263 | }
264 | Repaint();
265 | }
266 |
267 | void OnGUI()
268 | {
269 | GUILayout.BeginHorizontal();
270 | showAllRelations = GUILayout.Toggle(showAllRelations, "Show All Relations", "button");
271 | showLightGizmos = GUILayout.Toggle(showLightGizmos, "Show Light Gizmos", "button");
272 | GUILayout.EndHorizontal();
273 | scroll = EditorGUILayout.BeginScrollView(scroll);
274 | for (var i = 0; i < lightObjects.Count; i++)
275 | {
276 | var editor = lightObjects[i];
277 | if (editor != null)
278 | {
279 | EditorGUI.BeginChangeCheck();
280 | GUILayout.BeginVertical("box");
281 | GUILayout.BeginHorizontal();
282 | if (GUILayout.Button(editor.targetObject.name, EditorStyles.boldLabel))
283 | {
284 | hotLightIndex = i;
285 | }
286 | GUILayout.FlexibleSpace();
287 | if (GUILayout.Button(new GUIContent("A", "Align View to Object")))
288 | {
289 | SceneView.lastActiveSceneView.AlignViewToObject(lights[i].transform);
290 | }
291 | if (GUILayout.Button(new GUIContent("B", "Align Object to View")))
292 | {
293 | var cam = SceneView.lastActiveSceneView.camera.transform;
294 | lights[i].transform.rotation = cam.rotation;
295 | lights[i].transform.position = cam.position + cam.forward * 1.5f;
296 | }
297 | GUILayout.EndHorizontal();
298 | DrawLightEditor(i);
299 |
300 | GUILayout.EndVertical();
301 | if (EditorGUI.EndChangeCheck())
302 | {
303 | editor.ApplyModifiedProperties();
304 | hotLightIndex = i;
305 | }
306 | if (hotLightIndex == i)
307 | {
308 | Handles.DrawSolidRectangleWithOutline(GUILayoutUtility.GetLastRect(), Color.clear, GUI_SELECTION_COLOR);
309 | }
310 | GUILayout.Space(8);
311 |
312 | }
313 | }
314 |
315 | EditorGUILayout.EndScrollView();
316 | }
317 |
318 | void DrawLightEditor(int index)
319 | {
320 | var so = lightObjects[index];
321 | var typeProperty = so.FindProperty("m_Type");
322 | EditorGUILayout.PropertyField(typeProperty);
323 | EditorGUILayout.PropertyField(so.FindProperty("m_Color"));
324 | EditorGUILayout.PropertyField(so.FindProperty("m_RenderMode"));
325 | EditorGUILayout.PropertyField(so.FindProperty("m_Intensity"));
326 | var typeValue = (LightType)System.Enum.Parse(typeof(LightType), typeProperty.enumNames[typeProperty.enumValueIndex]);
327 | if (typeValue == LightType.Point || typeValue == LightType.Spot)
328 | {
329 | var rangeProperty = so.FindProperty("m_Range");
330 | EditorGUILayout.PropertyField(rangeProperty);
331 |
332 | if (Selection.activeTransform != null && IsOutOfRange(lights[index], Selection.activeTransform.position))
333 | {
334 | EditorGUILayout.HelpBox("Out of Range", MessageType.Warning);
335 | }
336 |
337 | }
338 | if (typeValue == LightType.Spot)
339 | EditorGUILayout.PropertyField(so.FindProperty("m_SpotAngle"));
340 | }
341 | }
342 | }
343 |
--------------------------------------------------------------------------------
/Editor/LightAssistantWindow.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 42d14e2f4602da94e8e1ff21439fbad7
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Editor/LightRelationshipsEditor.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "LightRelationshipsEditor",
3 | "references": [
4 | "GUID:a1f2a1ae20746f947b43a9e2da5b01fc"
5 | ],
6 | "includePlatforms": [
7 | "Editor"
8 | ],
9 | "excludePlatforms": [],
10 | "allowUnsafeCode": false,
11 | "overrideReferences": false,
12 | "precompiledReferences": [],
13 | "autoReferenced": true,
14 | "defineConstraints": [],
15 | "versionDefines": [],
16 | "noEngineReferences": false
17 | }
--------------------------------------------------------------------------------
/Editor/LightRelationshipsEditor.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 939a7f2b0ea674340b876457fb93c72f
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Editor/LightRelationshipsEditorWindow.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reflection;
5 | using System.Text;
6 | using Unity.SelectionGroups;
7 | using Unity.SelectionGroups.Runtime;
8 | using UnityEditor;
9 | using UnityEditor.SceneManagement;
10 | using UnityEditorInternal;
11 | using UnityEngine;
12 | using UnityEngine.SceneManagement;
13 |
14 | namespace Unity.LightRelationships
15 | {
16 | ///
17 | /// Editor window to visualise light relationships.
18 | ///
19 | internal class LightRelationshipsEditorWindow : EditorWindow
20 | {
21 |
22 | Vector2 scroll;
23 | static LightRelationshipsEditorWindow editorWindow;
24 | List lights = new List();
25 | List renderers = new List();
26 | Dictionary> lightGroups = new Dictionary>();
27 | Dictionary> rendererGroups = new Dictionary>();
28 |
29 | [MenuItem("Window/General/Light Relationships")]
30 | static void OpenWindow()
31 | {
32 | var window = EditorWindow.GetWindow();
33 | window.ShowUtility();
34 | }
35 |
36 | void OnEnable()
37 | {
38 | titleContent.text = "Light Relationships";
39 | editorWindow = this;
40 | RefreshGroupIndex();
41 | }
42 |
43 | void OnDisable()
44 | {
45 | editorWindow = null;
46 | lightGroups.Clear();
47 | rendererGroups.Clear();
48 | lights.Clear();
49 | renderers.Clear();
50 | }
51 |
52 | void RefreshGroupIndex()
53 | {
54 | lights.Clear();
55 | renderers.Clear();
56 | lightGroups.Clear();
57 | rendererGroups.Clear();
58 |
59 | foreach (var n in SelectionGroupManager.Groups)
60 | {
61 | foreach (var obj in n)
62 | {
63 | var g = obj as GameObject;
64 | if (g == null) continue;
65 | if (g.TryGetComponent(out Light light))
66 | AddLight(light);
67 | if (g.TryGetComponent(out Renderer renderer))
68 | AddRenderer(renderer);
69 | }
70 | }
71 | foreach (var kv in lightGroups)
72 | {
73 | var cullingMask = kv.Key;
74 | foreach (var renderer in renderers)
75 | {
76 | if ((1 << renderer.gameObject.layer & cullingMask) != 0)
77 | {
78 | if (rendererGroups.TryGetValue(cullingMask, out HashSet group))
79 | group.Add(renderer);
80 | else
81 | rendererGroups.Add(cullingMask, new HashSet(new[] { renderer }));
82 | }
83 | }
84 | }
85 | }
86 |
87 | void AddRenderer(Renderer renderer)
88 | {
89 | renderers.Add(renderer);
90 | }
91 |
92 | void AddLight(Light light)
93 | {
94 | if (lightGroups.TryGetValue(light.cullingMask, out HashSet group))
95 | group.Add(light);
96 | else
97 | lightGroups.Add(light.cullingMask, new HashSet(new[] { light }));
98 | lights.Add(light);
99 | }
100 |
101 | void OnGUI()
102 | {
103 | if (GUILayout.Button("Refresh"))
104 | {
105 | RefreshGroupIndex();
106 | }
107 | scroll = EditorGUILayout.BeginScrollView(scroll);
108 | using (var cc = new EditorGUI.ChangeCheckScope())
109 | {
110 | GUILayout.Label("Lights");
111 | foreach (var kv in lightGroups)
112 | {
113 | var cullingMask = kv.Key;
114 | var group = kv.Value;
115 | DrawLightGroup(cullingMask, group);
116 | GUILayout.Space(EditorGUIUtility.singleLineHeight);
117 |
118 | }
119 | if (cc.changed)
120 | {
121 |
122 | }
123 | }
124 | EditorGUILayout.EndScrollView();
125 | if (focusedWindow == this)
126 | Repaint();
127 | }
128 |
129 | void DrawLightGroup(int cullingMask, HashSet group)
130 | {
131 | var layerNames = GetLayerNames(cullingMask);
132 | GUILayout.BeginVertical(GUIContent.none, "box");
133 | GUILayout.Label(GetLayerNames(cullingMask), EditorStyles.boldLabel);
134 | GUILayout.BeginHorizontal();
135 | GUILayout.BeginVertical("box", GUILayout.Width(EditorGUIUtility.currentViewWidth * 0.45f));
136 | if (GUILayout.Button(EditorGUIUtility.TrTextContentWithIcon("Select All", "Light icon"), GUILayout.Height(EditorGUIUtility.singleLineHeight)))
137 | {
138 | Selection.objects = group.ToArray();
139 | }
140 | foreach (var light in group)
141 | {
142 | GUILayout.Label($" - {light.name}");
143 | }
144 | GUILayout.EndVertical();
145 | GUILayout.Space(16);
146 | GUILayout.BeginVertical("box");
147 |
148 | if (rendererGroups.TryGetValue(cullingMask, out HashSet groupMembers))
149 | {
150 | if (GUILayout.Button(EditorGUIUtility.TrTextContentWithIcon("Select All", "MeshRenderer icon"), GUILayout.Height(EditorGUIUtility.singleLineHeight)))
151 | {
152 | Selection.objects = groupMembers.ToArray();
153 | }
154 | foreach (var renderer in groupMembers)
155 | {
156 | GUILayout.Label(renderer.gameObject.name);
157 | }
158 | }
159 | GUILayout.EndVertical();
160 | GUILayout.EndHorizontal();
161 | GUILayout.EndVertical();
162 | }
163 |
164 | string GetLayerNames(int layerMask)
165 | {
166 | var mask = (uint)layerMask;
167 | if (mask == 0) return "Nothing";
168 | if (mask == 0xFFFFFFFF) return "Everything";
169 | var names = new List();
170 | for (var i = 1; i <= 31; i++)
171 | {
172 | if ((1 << i & mask) != 0)
173 | names.Add($"{LayerMask.LayerToName(i)}");
174 | }
175 | return string.Join(", ", names);
176 | }
177 |
178 | }
179 | }
180 |
--------------------------------------------------------------------------------
/Editor/LightRelationshipsEditorWindow.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a0e2400d71c242c449658223621af0ae
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Light Assistant copyright © 2020 Unity Technologies ApS
2 |
3 | Licensed under the Unity Companion License for Unity-dependent projects--see [Unity Companion License](http://www.unity3d.com/legal/licenses/Unity_Companion_License).
4 |
5 | Unless expressly provided otherwise, the Software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.
6 |
--------------------------------------------------------------------------------
/LICENSE.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 02fb50b2c7bf4554a8c4b29ddbab75a7
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/LightAssistant~/Assets/Scenes.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 951fdc7015c202c42909cca18f115f9e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/LightAssistant~/Assets/Scenes/SampleScene.unity:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!29 &1
4 | OcclusionCullingSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_OcclusionBakeSettings:
8 | smallestOccluder: 5
9 | smallestHole: 0.25
10 | backfaceThreshold: 100
11 | m_SceneGUID: 00000000000000000000000000000000
12 | m_OcclusionCullingData: {fileID: 0}
13 | --- !u!104 &2
14 | RenderSettings:
15 | m_ObjectHideFlags: 0
16 | serializedVersion: 9
17 | m_Fog: 0
18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
19 | m_FogMode: 3
20 | m_FogDensity: 0.01
21 | m_LinearFogStart: 0
22 | m_LinearFogEnd: 300
23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
26 | m_AmbientIntensity: 1
27 | m_AmbientMode: 0
28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
30 | m_HaloStrength: 0.5
31 | m_FlareStrength: 1
32 | m_FlareFadeSpeed: 3
33 | m_HaloTexture: {fileID: 0}
34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
35 | m_DefaultReflectionMode: 0
36 | m_DefaultReflectionResolution: 128
37 | m_ReflectionBounces: 1
38 | m_ReflectionIntensity: 1
39 | m_CustomReflection: {fileID: 0}
40 | m_Sun: {fileID: 705507994}
41 | m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
42 | m_UseRadianceAmbientProbe: 0
43 | --- !u!157 &3
44 | LightmapSettings:
45 | m_ObjectHideFlags: 0
46 | serializedVersion: 11
47 | m_GIWorkflowMode: 0
48 | m_GISettings:
49 | serializedVersion: 2
50 | m_BounceScale: 1
51 | m_IndirectOutputScale: 1
52 | m_AlbedoBoost: 1
53 | m_TemporalCoherenceThreshold: 1
54 | m_EnvironmentLightingMode: 0
55 | m_EnableBakedLightmaps: 1
56 | m_EnableRealtimeLightmaps: 0
57 | m_LightmapEditorSettings:
58 | serializedVersion: 10
59 | m_Resolution: 2
60 | m_BakeResolution: 40
61 | m_AtlasSize: 1024
62 | m_AO: 0
63 | m_AOMaxDistance: 1
64 | m_CompAOExponent: 1
65 | m_CompAOExponentDirect: 0
66 | m_Padding: 2
67 | m_LightmapParameters: {fileID: 0}
68 | m_LightmapsBakeMode: 1
69 | m_TextureCompression: 1
70 | m_FinalGather: 0
71 | m_FinalGatherFiltering: 1
72 | m_FinalGatherRayCount: 256
73 | m_ReflectionCompression: 2
74 | m_MixedBakeMode: 2
75 | m_BakeBackend: 1
76 | m_PVRSampling: 1
77 | m_PVRDirectSampleCount: 32
78 | m_PVRSampleCount: 500
79 | m_PVRBounces: 2
80 | m_PVRFilterTypeDirect: 0
81 | m_PVRFilterTypeIndirect: 0
82 | m_PVRFilterTypeAO: 0
83 | m_PVRFilteringMode: 1
84 | m_PVRCulling: 1
85 | m_PVRFilteringGaussRadiusDirect: 1
86 | m_PVRFilteringGaussRadiusIndirect: 5
87 | m_PVRFilteringGaussRadiusAO: 2
88 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5
89 | m_PVRFilteringAtrousPositionSigmaIndirect: 2
90 | m_PVRFilteringAtrousPositionSigmaAO: 1
91 | m_ShowResolutionOverlay: 1
92 | m_LightingDataAsset: {fileID: 0}
93 | m_UseShadowmask: 1
94 | --- !u!196 &4
95 | NavMeshSettings:
96 | serializedVersion: 2
97 | m_ObjectHideFlags: 0
98 | m_BuildSettings:
99 | serializedVersion: 2
100 | agentTypeID: 0
101 | agentRadius: 0.5
102 | agentHeight: 2
103 | agentSlope: 45
104 | agentClimb: 0.4
105 | ledgeDropHeight: 0
106 | maxJumpAcrossDistance: 0
107 | minRegionArea: 2
108 | manualCellSize: 0
109 | cellSize: 0.16666667
110 | manualTileSize: 0
111 | tileSize: 256
112 | accuratePlacement: 0
113 | debug:
114 | m_Flags: 0
115 | m_NavMeshData: {fileID: 0}
116 | --- !u!1 &705507993
117 | GameObject:
118 | m_ObjectHideFlags: 0
119 | m_CorrespondingSourceObject: {fileID: 0}
120 | m_PrefabInternal: {fileID: 0}
121 | serializedVersion: 6
122 | m_Component:
123 | - component: {fileID: 705507995}
124 | - component: {fileID: 705507994}
125 | m_Layer: 0
126 | m_Name: Directional Light
127 | m_TagString: Untagged
128 | m_Icon: {fileID: 0}
129 | m_NavMeshLayer: 0
130 | m_StaticEditorFlags: 0
131 | m_IsActive: 1
132 | --- !u!108 &705507994
133 | Light:
134 | m_ObjectHideFlags: 0
135 | m_CorrespondingSourceObject: {fileID: 0}
136 | m_PrefabInternal: {fileID: 0}
137 | m_GameObject: {fileID: 705507993}
138 | m_Enabled: 1
139 | serializedVersion: 8
140 | m_Type: 1
141 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
142 | m_Intensity: 1
143 | m_Range: 10
144 | m_SpotAngle: 30
145 | m_CookieSize: 10
146 | m_Shadows:
147 | m_Type: 2
148 | m_Resolution: -1
149 | m_CustomResolution: -1
150 | m_Strength: 1
151 | m_Bias: 0.05
152 | m_NormalBias: 0.4
153 | m_NearPlane: 0.2
154 | m_Cookie: {fileID: 0}
155 | m_DrawHalo: 0
156 | m_Flare: {fileID: 0}
157 | m_RenderMode: 0
158 | m_CullingMask:
159 | serializedVersion: 2
160 | m_Bits: 4294967295
161 | m_Lightmapping: 1
162 | m_LightShadowCasterMode: 0
163 | m_AreaSize: {x: 1, y: 1}
164 | m_BounceIntensity: 1
165 | m_ColorTemperature: 6570
166 | m_UseColorTemperature: 0
167 | m_ShadowRadius: 0
168 | m_ShadowAngle: 0
169 | --- !u!4 &705507995
170 | Transform:
171 | m_ObjectHideFlags: 0
172 | m_CorrespondingSourceObject: {fileID: 0}
173 | m_PrefabInternal: {fileID: 0}
174 | m_GameObject: {fileID: 705507993}
175 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
176 | m_LocalPosition: {x: 0, y: 3, z: 0}
177 | m_LocalScale: {x: 1, y: 1, z: 1}
178 | m_Children: []
179 | m_Father: {fileID: 0}
180 | m_RootOrder: 1
181 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
182 | --- !u!1 &963194225
183 | GameObject:
184 | m_ObjectHideFlags: 0
185 | m_CorrespondingSourceObject: {fileID: 0}
186 | m_PrefabInternal: {fileID: 0}
187 | serializedVersion: 6
188 | m_Component:
189 | - component: {fileID: 963194228}
190 | - component: {fileID: 963194227}
191 | - component: {fileID: 963194226}
192 | m_Layer: 0
193 | m_Name: Main Camera
194 | m_TagString: MainCamera
195 | m_Icon: {fileID: 0}
196 | m_NavMeshLayer: 0
197 | m_StaticEditorFlags: 0
198 | m_IsActive: 1
199 | --- !u!81 &963194226
200 | AudioListener:
201 | m_ObjectHideFlags: 0
202 | m_CorrespondingSourceObject: {fileID: 0}
203 | m_PrefabInternal: {fileID: 0}
204 | m_GameObject: {fileID: 963194225}
205 | m_Enabled: 1
206 | --- !u!20 &963194227
207 | Camera:
208 | m_ObjectHideFlags: 0
209 | m_CorrespondingSourceObject: {fileID: 0}
210 | m_PrefabInternal: {fileID: 0}
211 | m_GameObject: {fileID: 963194225}
212 | m_Enabled: 1
213 | serializedVersion: 2
214 | m_ClearFlags: 1
215 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
216 | m_projectionMatrixMode: 1
217 | m_SensorSize: {x: 36, y: 24}
218 | m_LensShift: {x: 0, y: 0}
219 | m_GateFitMode: 2
220 | m_FocalLength: 50
221 | m_NormalizedViewPortRect:
222 | serializedVersion: 2
223 | x: 0
224 | y: 0
225 | width: 1
226 | height: 1
227 | near clip plane: 0.3
228 | far clip plane: 1000
229 | field of view: 60
230 | orthographic: 0
231 | orthographic size: 5
232 | m_Depth: -1
233 | m_CullingMask:
234 | serializedVersion: 2
235 | m_Bits: 4294967295
236 | m_RenderingPath: -1
237 | m_TargetTexture: {fileID: 0}
238 | m_TargetDisplay: 0
239 | m_TargetEye: 3
240 | m_HDR: 1
241 | m_AllowMSAA: 1
242 | m_AllowDynamicResolution: 0
243 | m_ForceIntoRT: 0
244 | m_OcclusionCulling: 1
245 | m_StereoConvergence: 10
246 | m_StereoSeparation: 0.022
247 | --- !u!4 &963194228
248 | Transform:
249 | m_ObjectHideFlags: 0
250 | m_CorrespondingSourceObject: {fileID: 0}
251 | m_PrefabInternal: {fileID: 0}
252 | m_GameObject: {fileID: 963194225}
253 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
254 | m_LocalPosition: {x: 0, y: 1, z: -10}
255 | m_LocalScale: {x: 1, y: 1, z: 1}
256 | m_Children: []
257 | m_Father: {fileID: 0}
258 | m_RootOrder: 0
259 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
260 |
--------------------------------------------------------------------------------
/LightAssistant~/Assets/Scenes/SampleScene.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1be387b1151596546878dda031c3905b
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/LightAssistant~/Packages/com.unity.light-assistant/Editor:
--------------------------------------------------------------------------------
1 | ../../../Editor
--------------------------------------------------------------------------------
/LightAssistant~/Packages/com.unity.light-assistant/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2250840e5fcf0734abba4bf9a52f8a66
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/LightAssistant~/Packages/com.unity.light-assistant/Tests:
--------------------------------------------------------------------------------
1 | ../../../Tests
--------------------------------------------------------------------------------
/LightAssistant~/Packages/com.unity.light-assistant/Tests.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f498e177cc490af4ba08549aaa21d43a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/LightAssistant~/Packages/com.unity.light-assistant/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "displayName": "Light Assistant",
3 | "name": "com.unity.light-assistant",
4 | "unity": "2019.4",
5 | "version": "0.0.1-preview",
6 | "dependencies": {
7 | "com.unity.selection-groups": "0.1.0-preview"
8 | },
9 | "description": "Provides editor tools for showing relationships between lights and renderers.",
10 | "contributors": [
11 | "Simon Wittber (https://github.com/smnwttbr)",
12 | "Unity Technologies Japan"
13 | ]
14 | }
--------------------------------------------------------------------------------
/LightAssistant~/Packages/com.unity.light-assistant/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 22c73586f5d003644be8a027d6c953cd
3 | PackageManifestImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/LightAssistant~/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.collab-proxy": "1.2.16",
4 | "com.unity.ext.nunit": "1.0.0",
5 | "com.unity.ide.rider": "1.1.4",
6 | "com.unity.ide.vscode": "1.2.2",
7 | "com.unity.test-framework": "1.1.18",
8 | "com.unity.textmeshpro": "2.0.1",
9 | "com.unity.timeline": "1.2.6",
10 | "com.unity.ugui": "1.0.0",
11 | "com.unity.modules.ai": "1.0.0",
12 | "com.unity.modules.androidjni": "1.0.0",
13 | "com.unity.modules.animation": "1.0.0",
14 | "com.unity.modules.assetbundle": "1.0.0",
15 | "com.unity.modules.audio": "1.0.0",
16 | "com.unity.modules.cloth": "1.0.0",
17 | "com.unity.modules.director": "1.0.0",
18 | "com.unity.modules.imageconversion": "1.0.0",
19 | "com.unity.modules.imgui": "1.0.0",
20 | "com.unity.modules.jsonserialize": "1.0.0",
21 | "com.unity.modules.particlesystem": "1.0.0",
22 | "com.unity.modules.physics": "1.0.0",
23 | "com.unity.modules.physics2d": "1.0.0",
24 | "com.unity.modules.screencapture": "1.0.0",
25 | "com.unity.modules.terrain": "1.0.0",
26 | "com.unity.modules.terrainphysics": "1.0.0",
27 | "com.unity.modules.tilemap": "1.0.0",
28 | "com.unity.modules.ui": "1.0.0",
29 | "com.unity.modules.uielements": "1.0.0",
30 | "com.unity.modules.umbra": "1.0.0",
31 | "com.unity.modules.unityanalytics": "1.0.0",
32 | "com.unity.modules.unitywebrequest": "1.0.0",
33 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
34 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
35 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
36 | "com.unity.modules.unitywebrequestwww": "1.0.0",
37 | "com.unity.modules.vehicles": "1.0.0",
38 | "com.unity.modules.video": "1.0.0",
39 | "com.unity.modules.vr": "1.0.0",
40 | "com.unity.modules.wind": "1.0.0",
41 | "com.unity.modules.xr": "1.0.0"
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/LightAssistant~/Packages/packages-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.collab-proxy": {
4 | "version": "1.2.16",
5 | "depth": 0,
6 | "source": "registry",
7 | "dependencies": {},
8 | "url": "https://packages.unity.com"
9 | },
10 | "com.unity.ext.nunit": {
11 | "version": "1.0.0",
12 | "depth": 0,
13 | "source": "registry",
14 | "dependencies": {},
15 | "url": "https://packages.unity.com"
16 | },
17 | "com.unity.ide.rider": {
18 | "version": "1.1.4",
19 | "depth": 0,
20 | "source": "registry",
21 | "dependencies": {
22 | "com.unity.test-framework": "1.1.1"
23 | },
24 | "url": "https://packages.unity.com"
25 | },
26 | "com.unity.ide.vscode": {
27 | "version": "1.2.2",
28 | "depth": 0,
29 | "source": "registry",
30 | "dependencies": {},
31 | "url": "https://packages.unity.com"
32 | },
33 | "com.unity.light-assistant": {
34 | "version": "file:com.unity.light-assistant",
35 | "depth": 0,
36 | "source": "embedded",
37 | "dependencies": {
38 | "com.unity.selection-groups": "0.1.0-preview"
39 | }
40 | },
41 | "com.unity.selection-groups": {
42 | "version": "0.1.0-preview",
43 | "depth": 1,
44 | "source": "registry",
45 | "dependencies": {},
46 | "url": "https://packages.unity.com"
47 | },
48 | "com.unity.test-framework": {
49 | "version": "1.1.18",
50 | "depth": 0,
51 | "source": "registry",
52 | "dependencies": {
53 | "com.unity.ext.nunit": "1.0.0",
54 | "com.unity.modules.imgui": "1.0.0",
55 | "com.unity.modules.jsonserialize": "1.0.0"
56 | },
57 | "url": "https://packages.unity.com"
58 | },
59 | "com.unity.textmeshpro": {
60 | "version": "2.0.1",
61 | "depth": 0,
62 | "source": "registry",
63 | "dependencies": {
64 | "com.unity.ugui": "1.0.0"
65 | },
66 | "url": "https://packages.unity.com"
67 | },
68 | "com.unity.timeline": {
69 | "version": "1.2.6",
70 | "depth": 0,
71 | "source": "registry",
72 | "dependencies": {},
73 | "url": "https://packages.unity.com"
74 | },
75 | "com.unity.ugui": {
76 | "version": "1.0.0",
77 | "depth": 0,
78 | "source": "builtin",
79 | "dependencies": {
80 | "com.unity.modules.ui": "1.0.0",
81 | "com.unity.modules.imgui": "1.0.0"
82 | }
83 | },
84 | "com.unity.modules.ai": {
85 | "version": "1.0.0",
86 | "depth": 0,
87 | "source": "builtin",
88 | "dependencies": {}
89 | },
90 | "com.unity.modules.androidjni": {
91 | "version": "1.0.0",
92 | "depth": 0,
93 | "source": "builtin",
94 | "dependencies": {}
95 | },
96 | "com.unity.modules.animation": {
97 | "version": "1.0.0",
98 | "depth": 0,
99 | "source": "builtin",
100 | "dependencies": {}
101 | },
102 | "com.unity.modules.assetbundle": {
103 | "version": "1.0.0",
104 | "depth": 0,
105 | "source": "builtin",
106 | "dependencies": {}
107 | },
108 | "com.unity.modules.audio": {
109 | "version": "1.0.0",
110 | "depth": 0,
111 | "source": "builtin",
112 | "dependencies": {}
113 | },
114 | "com.unity.modules.cloth": {
115 | "version": "1.0.0",
116 | "depth": 0,
117 | "source": "builtin",
118 | "dependencies": {
119 | "com.unity.modules.physics": "1.0.0"
120 | }
121 | },
122 | "com.unity.modules.director": {
123 | "version": "1.0.0",
124 | "depth": 0,
125 | "source": "builtin",
126 | "dependencies": {
127 | "com.unity.modules.audio": "1.0.0",
128 | "com.unity.modules.animation": "1.0.0"
129 | }
130 | },
131 | "com.unity.modules.imageconversion": {
132 | "version": "1.0.0",
133 | "depth": 0,
134 | "source": "builtin",
135 | "dependencies": {}
136 | },
137 | "com.unity.modules.imgui": {
138 | "version": "1.0.0",
139 | "depth": 0,
140 | "source": "builtin",
141 | "dependencies": {}
142 | },
143 | "com.unity.modules.jsonserialize": {
144 | "version": "1.0.0",
145 | "depth": 0,
146 | "source": "builtin",
147 | "dependencies": {}
148 | },
149 | "com.unity.modules.particlesystem": {
150 | "version": "1.0.0",
151 | "depth": 0,
152 | "source": "builtin",
153 | "dependencies": {}
154 | },
155 | "com.unity.modules.physics": {
156 | "version": "1.0.0",
157 | "depth": 0,
158 | "source": "builtin",
159 | "dependencies": {}
160 | },
161 | "com.unity.modules.physics2d": {
162 | "version": "1.0.0",
163 | "depth": 0,
164 | "source": "builtin",
165 | "dependencies": {}
166 | },
167 | "com.unity.modules.screencapture": {
168 | "version": "1.0.0",
169 | "depth": 0,
170 | "source": "builtin",
171 | "dependencies": {
172 | "com.unity.modules.imageconversion": "1.0.0"
173 | }
174 | },
175 | "com.unity.modules.subsystems": {
176 | "version": "1.0.0",
177 | "depth": 1,
178 | "source": "builtin",
179 | "dependencies": {
180 | "com.unity.modules.jsonserialize": "1.0.0"
181 | }
182 | },
183 | "com.unity.modules.terrain": {
184 | "version": "1.0.0",
185 | "depth": 0,
186 | "source": "builtin",
187 | "dependencies": {}
188 | },
189 | "com.unity.modules.terrainphysics": {
190 | "version": "1.0.0",
191 | "depth": 0,
192 | "source": "builtin",
193 | "dependencies": {
194 | "com.unity.modules.physics": "1.0.0",
195 | "com.unity.modules.terrain": "1.0.0"
196 | }
197 | },
198 | "com.unity.modules.tilemap": {
199 | "version": "1.0.0",
200 | "depth": 0,
201 | "source": "builtin",
202 | "dependencies": {
203 | "com.unity.modules.physics2d": "1.0.0"
204 | }
205 | },
206 | "com.unity.modules.ui": {
207 | "version": "1.0.0",
208 | "depth": 0,
209 | "source": "builtin",
210 | "dependencies": {}
211 | },
212 | "com.unity.modules.uielements": {
213 | "version": "1.0.0",
214 | "depth": 0,
215 | "source": "builtin",
216 | "dependencies": {
217 | "com.unity.modules.imgui": "1.0.0",
218 | "com.unity.modules.jsonserialize": "1.0.0"
219 | }
220 | },
221 | "com.unity.modules.umbra": {
222 | "version": "1.0.0",
223 | "depth": 0,
224 | "source": "builtin",
225 | "dependencies": {}
226 | },
227 | "com.unity.modules.unityanalytics": {
228 | "version": "1.0.0",
229 | "depth": 0,
230 | "source": "builtin",
231 | "dependencies": {
232 | "com.unity.modules.unitywebrequest": "1.0.0",
233 | "com.unity.modules.jsonserialize": "1.0.0"
234 | }
235 | },
236 | "com.unity.modules.unitywebrequest": {
237 | "version": "1.0.0",
238 | "depth": 0,
239 | "source": "builtin",
240 | "dependencies": {}
241 | },
242 | "com.unity.modules.unitywebrequestassetbundle": {
243 | "version": "1.0.0",
244 | "depth": 0,
245 | "source": "builtin",
246 | "dependencies": {
247 | "com.unity.modules.assetbundle": "1.0.0",
248 | "com.unity.modules.unitywebrequest": "1.0.0"
249 | }
250 | },
251 | "com.unity.modules.unitywebrequestaudio": {
252 | "version": "1.0.0",
253 | "depth": 0,
254 | "source": "builtin",
255 | "dependencies": {
256 | "com.unity.modules.unitywebrequest": "1.0.0",
257 | "com.unity.modules.audio": "1.0.0"
258 | }
259 | },
260 | "com.unity.modules.unitywebrequesttexture": {
261 | "version": "1.0.0",
262 | "depth": 0,
263 | "source": "builtin",
264 | "dependencies": {
265 | "com.unity.modules.unitywebrequest": "1.0.0",
266 | "com.unity.modules.imageconversion": "1.0.0"
267 | }
268 | },
269 | "com.unity.modules.unitywebrequestwww": {
270 | "version": "1.0.0",
271 | "depth": 0,
272 | "source": "builtin",
273 | "dependencies": {
274 | "com.unity.modules.unitywebrequest": "1.0.0",
275 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
276 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
277 | "com.unity.modules.audio": "1.0.0",
278 | "com.unity.modules.assetbundle": "1.0.0",
279 | "com.unity.modules.imageconversion": "1.0.0"
280 | }
281 | },
282 | "com.unity.modules.vehicles": {
283 | "version": "1.0.0",
284 | "depth": 0,
285 | "source": "builtin",
286 | "dependencies": {
287 | "com.unity.modules.physics": "1.0.0"
288 | }
289 | },
290 | "com.unity.modules.video": {
291 | "version": "1.0.0",
292 | "depth": 0,
293 | "source": "builtin",
294 | "dependencies": {
295 | "com.unity.modules.audio": "1.0.0",
296 | "com.unity.modules.ui": "1.0.0",
297 | "com.unity.modules.unitywebrequest": "1.0.0"
298 | }
299 | },
300 | "com.unity.modules.vr": {
301 | "version": "1.0.0",
302 | "depth": 0,
303 | "source": "builtin",
304 | "dependencies": {
305 | "com.unity.modules.jsonserialize": "1.0.0",
306 | "com.unity.modules.physics": "1.0.0",
307 | "com.unity.modules.xr": "1.0.0"
308 | }
309 | },
310 | "com.unity.modules.wind": {
311 | "version": "1.0.0",
312 | "depth": 0,
313 | "source": "builtin",
314 | "dependencies": {}
315 | },
316 | "com.unity.modules.xr": {
317 | "version": "1.0.0",
318 | "depth": 0,
319 | "source": "builtin",
320 | "dependencies": {
321 | "com.unity.modules.physics": "1.0.0",
322 | "com.unity.modules.jsonserialize": "1.0.0",
323 | "com.unity.modules.subsystems": "1.0.0"
324 | }
325 | }
326 | }
327 | }
328 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Volume: 1
8 | Rolloff Scale: 1
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_SampleRate: 0
12 | m_DSPBufferSize: 1024
13 | m_VirtualVoiceCount: 512
14 | m_RealVoiceCount: 32
15 | m_SpatializerPlugin:
16 | m_AmbisonicDecoderPlugin:
17 | m_DisableAudio: 0
18 | m_VirtualizeEffects: 1
19 | m_RequestedDSPBufferSize: 1024
20 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 11
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0
18 | m_ClothInterCollisionStiffness: 0
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 0
23 | m_ReuseCollisionCallbacks: 1
24 | m_ClothInterCollisionSettingsToggle: 0
25 | m_ContactPairsMode: 0
26 | m_BroadphaseType: 0
27 | m_WorldBounds:
28 | m_Center: {x: 0, y: 0, z: 0}
29 | m_Extent: {x: 250, y: 250, z: 250}
30 | m_WorldSubdivisions: 8
31 | m_FrictionType: 0
32 | m_EnableEnhancedDeterminism: 0
33 | m_EnableUnifiedHeightmaps: 1
34 | m_DefaultMaxAngluarSpeed: 7
35 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes: []
8 | m_configObjects: {}
9 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 9
7 | m_ExternalVersionControlSupport: Hidden Meta Files
8 | m_SerializationMode: 2
9 | m_LineEndingsForNewScripts: 2
10 | m_DefaultBehaviorMode: 0
11 | m_PrefabRegularEnvironment: {fileID: 0}
12 | m_PrefabUIEnvironment: {fileID: 0}
13 | m_SpritePackerMode: 0
14 | m_SpritePackerPaddingPower: 1
15 | m_EtcTextureCompressorBehavior: 1
16 | m_EtcTextureFastCompressor: 1
17 | m_EtcTextureNormalCompressor: 2
18 | m_EtcTextureBestCompressor: 4
19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref
20 | m_ProjectGenerationRootNamespace:
21 | m_CollabEditorSettings:
22 | inProgressEnabled: 1
23 | m_EnableTextureStreamingInEditMode: 1
24 | m_EnableTextureStreamingInPlayMode: 1
25 | m_AsyncShaderCompilation: 1
26 | m_EnterPlayModeOptionsEnabled: 0
27 | m_EnterPlayModeOptions: 3
28 | m_ShowLightmapResolutionOverlay: 1
29 | m_UseLegacyProbeSampleCount: 1
30 | m_AssetPipelineMode: 1
31 | m_CacheServerMode: 0
32 | m_CacheServerEndpoint:
33 | m_CacheServerNamespacePrefix: default
34 | m_CacheServerEnableDownload: 1
35 | m_CacheServerEnableUpload: 1
36 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 12
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_AlwaysIncludedShaders:
32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
38 | m_PreloadedShaders: []
39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
40 | type: 0}
41 | m_CustomRenderPipeline: {fileID: 0}
42 | m_TransparencySortMode: 0
43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
44 | m_DefaultRenderingPath: 1
45 | m_DefaultMobileRenderingPath: 1
46 | m_TierSettings: []
47 | m_LightmapStripping: 0
48 | m_FogStripping: 0
49 | m_InstancingStripping: 0
50 | m_LightmapKeepPlain: 1
51 | m_LightmapKeepDirCombined: 1
52 | m_LightmapKeepDynamicPlain: 1
53 | m_LightmapKeepDynamicDirCombined: 1
54 | m_LightmapKeepShadowMask: 1
55 | m_LightmapKeepSubtractive: 1
56 | m_FogKeepLinear: 1
57 | m_FogKeepExp: 1
58 | m_FogKeepExp2: 1
59 | m_AlbedoSwatchInfos: []
60 | m_LightsUseLinearIntensity: 0
61 | m_LightsUseColorTemperature: 0
62 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/InputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!13 &1
4 | InputManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Axes:
8 | - serializedVersion: 3
9 | m_Name: Horizontal
10 | descriptiveName:
11 | descriptiveNegativeName:
12 | negativeButton: left
13 | positiveButton: right
14 | altNegativeButton: a
15 | altPositiveButton: d
16 | gravity: 3
17 | dead: 0.001
18 | sensitivity: 3
19 | snap: 1
20 | invert: 0
21 | type: 0
22 | axis: 0
23 | joyNum: 0
24 | - serializedVersion: 3
25 | m_Name: Vertical
26 | descriptiveName:
27 | descriptiveNegativeName:
28 | negativeButton: down
29 | positiveButton: up
30 | altNegativeButton: s
31 | altPositiveButton: w
32 | gravity: 3
33 | dead: 0.001
34 | sensitivity: 3
35 | snap: 1
36 | invert: 0
37 | type: 0
38 | axis: 0
39 | joyNum: 0
40 | - serializedVersion: 3
41 | m_Name: Fire1
42 | descriptiveName:
43 | descriptiveNegativeName:
44 | negativeButton:
45 | positiveButton: left ctrl
46 | altNegativeButton:
47 | altPositiveButton: mouse 0
48 | gravity: 1000
49 | dead: 0.001
50 | sensitivity: 1000
51 | snap: 0
52 | invert: 0
53 | type: 0
54 | axis: 0
55 | joyNum: 0
56 | - serializedVersion: 3
57 | m_Name: Fire2
58 | descriptiveName:
59 | descriptiveNegativeName:
60 | negativeButton:
61 | positiveButton: left alt
62 | altNegativeButton:
63 | altPositiveButton: mouse 1
64 | gravity: 1000
65 | dead: 0.001
66 | sensitivity: 1000
67 | snap: 0
68 | invert: 0
69 | type: 0
70 | axis: 0
71 | joyNum: 0
72 | - serializedVersion: 3
73 | m_Name: Fire3
74 | descriptiveName:
75 | descriptiveNegativeName:
76 | negativeButton:
77 | positiveButton: left shift
78 | altNegativeButton:
79 | altPositiveButton: mouse 2
80 | gravity: 1000
81 | dead: 0.001
82 | sensitivity: 1000
83 | snap: 0
84 | invert: 0
85 | type: 0
86 | axis: 0
87 | joyNum: 0
88 | - serializedVersion: 3
89 | m_Name: Jump
90 | descriptiveName:
91 | descriptiveNegativeName:
92 | negativeButton:
93 | positiveButton: space
94 | altNegativeButton:
95 | altPositiveButton:
96 | gravity: 1000
97 | dead: 0.001
98 | sensitivity: 1000
99 | snap: 0
100 | invert: 0
101 | type: 0
102 | axis: 0
103 | joyNum: 0
104 | - serializedVersion: 3
105 | m_Name: Mouse X
106 | descriptiveName:
107 | descriptiveNegativeName:
108 | negativeButton:
109 | positiveButton:
110 | altNegativeButton:
111 | altPositiveButton:
112 | gravity: 0
113 | dead: 0
114 | sensitivity: 0.1
115 | snap: 0
116 | invert: 0
117 | type: 1
118 | axis: 0
119 | joyNum: 0
120 | - serializedVersion: 3
121 | m_Name: Mouse Y
122 | descriptiveName:
123 | descriptiveNegativeName:
124 | negativeButton:
125 | positiveButton:
126 | altNegativeButton:
127 | altPositiveButton:
128 | gravity: 0
129 | dead: 0
130 | sensitivity: 0.1
131 | snap: 0
132 | invert: 0
133 | type: 1
134 | axis: 1
135 | joyNum: 0
136 | - serializedVersion: 3
137 | m_Name: Mouse ScrollWheel
138 | descriptiveName:
139 | descriptiveNegativeName:
140 | negativeButton:
141 | positiveButton:
142 | altNegativeButton:
143 | altPositiveButton:
144 | gravity: 0
145 | dead: 0
146 | sensitivity: 0.1
147 | snap: 0
148 | invert: 0
149 | type: 1
150 | axis: 2
151 | joyNum: 0
152 | - serializedVersion: 3
153 | m_Name: Horizontal
154 | descriptiveName:
155 | descriptiveNegativeName:
156 | negativeButton:
157 | positiveButton:
158 | altNegativeButton:
159 | altPositiveButton:
160 | gravity: 0
161 | dead: 0.19
162 | sensitivity: 1
163 | snap: 0
164 | invert: 0
165 | type: 2
166 | axis: 0
167 | joyNum: 0
168 | - serializedVersion: 3
169 | m_Name: Vertical
170 | descriptiveName:
171 | descriptiveNegativeName:
172 | negativeButton:
173 | positiveButton:
174 | altNegativeButton:
175 | altPositiveButton:
176 | gravity: 0
177 | dead: 0.19
178 | sensitivity: 1
179 | snap: 0
180 | invert: 1
181 | type: 2
182 | axis: 1
183 | joyNum: 0
184 | - serializedVersion: 3
185 | m_Name: Fire1
186 | descriptiveName:
187 | descriptiveNegativeName:
188 | negativeButton:
189 | positiveButton: joystick button 0
190 | altNegativeButton:
191 | altPositiveButton:
192 | gravity: 1000
193 | dead: 0.001
194 | sensitivity: 1000
195 | snap: 0
196 | invert: 0
197 | type: 0
198 | axis: 0
199 | joyNum: 0
200 | - serializedVersion: 3
201 | m_Name: Fire2
202 | descriptiveName:
203 | descriptiveNegativeName:
204 | negativeButton:
205 | positiveButton: joystick button 1
206 | altNegativeButton:
207 | altPositiveButton:
208 | gravity: 1000
209 | dead: 0.001
210 | sensitivity: 1000
211 | snap: 0
212 | invert: 0
213 | type: 0
214 | axis: 0
215 | joyNum: 0
216 | - serializedVersion: 3
217 | m_Name: Fire3
218 | descriptiveName:
219 | descriptiveNegativeName:
220 | negativeButton:
221 | positiveButton: joystick button 2
222 | altNegativeButton:
223 | altPositiveButton:
224 | gravity: 1000
225 | dead: 0.001
226 | sensitivity: 1000
227 | snap: 0
228 | invert: 0
229 | type: 0
230 | axis: 0
231 | joyNum: 0
232 | - serializedVersion: 3
233 | m_Name: Jump
234 | descriptiveName:
235 | descriptiveNegativeName:
236 | negativeButton:
237 | positiveButton: joystick button 3
238 | altNegativeButton:
239 | altPositiveButton:
240 | gravity: 1000
241 | dead: 0.001
242 | sensitivity: 1000
243 | snap: 0
244 | invert: 0
245 | type: 0
246 | axis: 0
247 | joyNum: 0
248 | - serializedVersion: 3
249 | m_Name: Submit
250 | descriptiveName:
251 | descriptiveNegativeName:
252 | negativeButton:
253 | positiveButton: return
254 | altNegativeButton:
255 | altPositiveButton: joystick button 0
256 | gravity: 1000
257 | dead: 0.001
258 | sensitivity: 1000
259 | snap: 0
260 | invert: 0
261 | type: 0
262 | axis: 0
263 | joyNum: 0
264 | - serializedVersion: 3
265 | m_Name: Submit
266 | descriptiveName:
267 | descriptiveNegativeName:
268 | negativeButton:
269 | positiveButton: enter
270 | altNegativeButton:
271 | altPositiveButton: space
272 | gravity: 1000
273 | dead: 0.001
274 | sensitivity: 1000
275 | snap: 0
276 | invert: 0
277 | type: 0
278 | axis: 0
279 | joyNum: 0
280 | - serializedVersion: 3
281 | m_Name: Cancel
282 | descriptiveName:
283 | descriptiveNegativeName:
284 | negativeButton:
285 | positiveButton: escape
286 | altNegativeButton:
287 | altPositiveButton: joystick button 1
288 | gravity: 1000
289 | dead: 0.001
290 | sensitivity: 1000
291 | snap: 0
292 | invert: 0
293 | type: 0
294 | axis: 0
295 | joyNum: 0
296 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/PackageManagerSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 0}
13 | m_Name:
14 | m_EditorClassIdentifier: UnityEditor:UnityEditor.PackageManager.UI:PackageManagerProjectSettings
15 | m_ScopedRegistriesSettingsExpanded: 1
16 | oneTimeWarningShown: 0
17 | m_Registries:
18 | - m_Id: main
19 | m_Name:
20 | m_Url: https://packages.unity.com
21 | m_Scopes: []
22 | m_IsDefault: 1
23 | m_UserSelectedRegistryName:
24 | m_UserAddingNewScopedRegistry: 0
25 | m_RegistryInfoDraft:
26 | m_ErrorMessage:
27 | m_Original:
28 | m_Id:
29 | m_Name:
30 | m_Url:
31 | m_Scopes: []
32 | m_IsDefault: 0
33 | m_Modified: 0
34 | m_Name:
35 | m_Url:
36 | m_Scopes:
37 | -
38 | m_SelectedScopeIndex: 0
39 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_JobOptions:
23 | serializedVersion: 2
24 | useMultithreading: 0
25 | useConsistencySorting: 0
26 | m_InterpolationPosesPerJob: 100
27 | m_NewContactsPerJob: 30
28 | m_CollideContactsPerJob: 100
29 | m_ClearFlagsPerJob: 200
30 | m_ClearBodyForcesPerJob: 200
31 | m_SyncDiscreteFixturesPerJob: 50
32 | m_SyncContinuousFixturesPerJob: 50
33 | m_FindNearestContactsPerJob: 100
34 | m_UpdateTriggerContactsPerJob: 100
35 | m_IslandSolverCostThreshold: 100
36 | m_IslandSolverBodyCostScale: 1
37 | m_IslandSolverContactCostScale: 10
38 | m_IslandSolverJointCostScale: 10
39 | m_IslandSolverBodiesPerJob: 50
40 | m_IslandSolverContactsPerJob: 50
41 | m_AutoSimulation: 1
42 | m_QueriesHitTriggers: 1
43 | m_QueriesStartInColliders: 1
44 | m_CallbacksOnDisable: 1
45 | m_ReuseCollisionCallbacks: 1
46 | m_AutoSyncTransforms: 0
47 | m_AlwaysShowColliders: 0
48 | m_ShowColliderSleep: 1
49 | m_ShowColliderContacts: 0
50 | m_ShowColliderAABB: 0
51 | m_ContactArrowScale: 0.2
52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
57 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | m_DefaultList: []
7 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/ProjectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!129 &1
4 | PlayerSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 18
7 | productGUID: 56ff12773e7320d418abf07a68eab195
8 | AndroidProfiler: 0
9 | AndroidFilterTouchesWhenObscured: 0
10 | AndroidEnableSustainedPerformanceMode: 0
11 | defaultScreenOrientation: 4
12 | targetDevice: 2
13 | useOnDemandResources: 0
14 | accelerometerFrequency: 60
15 | companyName: DefaultCompany
16 | productName: LightAssistant~
17 | defaultCursor: {fileID: 0}
18 | cursorHotspot: {x: 0, y: 0}
19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
20 | m_ShowUnitySplashScreen: 1
21 | m_ShowUnitySplashLogo: 1
22 | m_SplashScreenOverlayOpacity: 1
23 | m_SplashScreenAnimation: 1
24 | m_SplashScreenLogoStyle: 1
25 | m_SplashScreenDrawMode: 0
26 | m_SplashScreenBackgroundAnimationZoom: 1
27 | m_SplashScreenLogoAnimationZoom: 1
28 | m_SplashScreenBackgroundLandscapeAspect: 1
29 | m_SplashScreenBackgroundPortraitAspect: 1
30 | m_SplashScreenBackgroundLandscapeUvs:
31 | serializedVersion: 2
32 | x: 0
33 | y: 0
34 | width: 1
35 | height: 1
36 | m_SplashScreenBackgroundPortraitUvs:
37 | serializedVersion: 2
38 | x: 0
39 | y: 0
40 | width: 1
41 | height: 1
42 | m_SplashScreenLogos: []
43 | m_VirtualRealitySplashScreen: {fileID: 0}
44 | m_HolographicTrackingLossScreen: {fileID: 0}
45 | defaultScreenWidth: 1024
46 | defaultScreenHeight: 768
47 | defaultScreenWidthWeb: 960
48 | defaultScreenHeightWeb: 600
49 | m_StereoRenderingPath: 0
50 | m_ActiveColorSpace: 0
51 | m_MTRendering: 1
52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000
53 | iosShowActivityIndicatorOnLoading: -1
54 | androidShowActivityIndicatorOnLoading: -1
55 | displayResolutionDialog: 0
56 | iosUseCustomAppBackgroundBehavior: 0
57 | iosAllowHTTPDownload: 1
58 | allowedAutorotateToPortrait: 1
59 | allowedAutorotateToPortraitUpsideDown: 1
60 | allowedAutorotateToLandscapeRight: 1
61 | allowedAutorotateToLandscapeLeft: 1
62 | useOSAutorotation: 1
63 | use32BitDisplayBuffer: 1
64 | preserveFramebufferAlpha: 0
65 | disableDepthAndStencilBuffers: 0
66 | androidStartInFullscreen: 1
67 | androidRenderOutsideSafeArea: 1
68 | androidUseSwappy: 0
69 | androidBlitType: 0
70 | defaultIsNativeResolution: 1
71 | macRetinaSupport: 1
72 | runInBackground: 1
73 | captureSingleScreen: 0
74 | muteOtherAudioSources: 0
75 | Prepare IOS For Recording: 0
76 | Force IOS Speakers When Recording: 0
77 | deferSystemGesturesMode: 0
78 | hideHomeButton: 0
79 | submitAnalytics: 1
80 | usePlayerLog: 1
81 | bakeCollisionMeshes: 0
82 | forceSingleInstance: 0
83 | useFlipModelSwapchain: 1
84 | resizableWindow: 0
85 | useMacAppStoreValidation: 0
86 | macAppStoreCategory: public.app-category.games
87 | gpuSkinning: 1
88 | graphicsJobs: 0
89 | xboxPIXTextureCapture: 0
90 | xboxEnableAvatar: 0
91 | xboxEnableKinect: 0
92 | xboxEnableKinectAutoTracking: 0
93 | xboxEnableFitness: 0
94 | visibleInBackground: 1
95 | allowFullscreenSwitch: 1
96 | graphicsJobMode: 0
97 | fullscreenMode: 1
98 | xboxSpeechDB: 0
99 | xboxEnableHeadOrientation: 0
100 | xboxEnableGuest: 0
101 | xboxEnablePIXSampling: 0
102 | metalFramebufferOnly: 0
103 | xboxOneResolution: 0
104 | xboxOneSResolution: 0
105 | xboxOneXResolution: 3
106 | xboxOneMonoLoggingLevel: 0
107 | xboxOneLoggingLevel: 1
108 | xboxOneDisableEsram: 0
109 | xboxOnePresentImmediateThreshold: 0
110 | switchQueueCommandMemory: 0
111 | switchQueueControlMemory: 16384
112 | switchQueueComputeMemory: 262144
113 | switchNVNShaderPoolsGranularity: 33554432
114 | switchNVNDefaultPoolsGranularity: 16777216
115 | switchNVNOtherPoolsGranularity: 16777216
116 | vulkanEnableSetSRGBWrite: 0
117 | m_SupportedAspectRatios:
118 | 4:3: 1
119 | 5:4: 1
120 | 16:10: 1
121 | 16:9: 1
122 | Others: 1
123 | bundleVersion: 0.1
124 | preloadedAssets: []
125 | metroInputSource: 0
126 | wsaTransparentSwapchain: 0
127 | m_HolographicPauseOnTrackingLoss: 1
128 | xboxOneDisableKinectGpuReservation: 1
129 | xboxOneEnable7thCore: 1
130 | vrSettings:
131 | cardboard:
132 | depthFormat: 0
133 | enableTransitionView: 0
134 | daydream:
135 | depthFormat: 0
136 | useSustainedPerformanceMode: 0
137 | enableVideoLayer: 0
138 | useProtectedVideoMemory: 0
139 | minimumSupportedHeadTracking: 0
140 | maximumSupportedHeadTracking: 1
141 | hololens:
142 | depthFormat: 1
143 | depthBufferSharingEnabled: 1
144 | lumin:
145 | depthFormat: 0
146 | frameTiming: 2
147 | enableGLCache: 0
148 | glCacheMaxBlobSize: 524288
149 | glCacheMaxFileSize: 8388608
150 | oculus:
151 | sharedDepthBuffer: 1
152 | dashSupport: 1
153 | lowOverheadMode: 0
154 | protectedContext: 0
155 | v2Signing: 0
156 | enable360StereoCapture: 0
157 | isWsaHolographicRemotingEnabled: 0
158 | protectGraphicsMemory: 0
159 | enableFrameTimingStats: 0
160 | useHDRDisplay: 0
161 | m_ColorGamuts: 00000000
162 | targetPixelDensity: 30
163 | resolutionScalingMode: 0
164 | androidSupportedAspectRatio: 1
165 | androidMaxAspectRatio: 2.1
166 | applicationIdentifier: {}
167 | buildNumber: {}
168 | AndroidBundleVersionCode: 1
169 | AndroidMinSdkVersion: 16
170 | AndroidTargetSdkVersion: 0
171 | AndroidPreferredInstallLocation: 1
172 | aotOptions:
173 | stripEngineCode: 1
174 | iPhoneStrippingLevel: 0
175 | iPhoneScriptCallOptimization: 0
176 | ForceInternetPermission: 0
177 | ForceSDCardPermission: 0
178 | CreateWallpaper: 0
179 | APKExpansionFiles: 0
180 | keepLoadedShadersAlive: 0
181 | StripUnusedMeshComponents: 1
182 | VertexChannelCompressionMask: 4054
183 | iPhoneSdkVersion: 988
184 | iOSTargetOSVersionString: 9.0
185 | tvOSSdkVersion: 0
186 | tvOSRequireExtendedGameController: 0
187 | tvOSTargetOSVersionString: 9.0
188 | uIPrerenderedIcon: 0
189 | uIRequiresPersistentWiFi: 0
190 | uIRequiresFullScreen: 1
191 | uIStatusBarHidden: 1
192 | uIExitOnSuspend: 0
193 | uIStatusBarStyle: 0
194 | iPhoneSplashScreen: {fileID: 0}
195 | iPhoneHighResSplashScreen: {fileID: 0}
196 | iPhoneTallHighResSplashScreen: {fileID: 0}
197 | iPhone47inSplashScreen: {fileID: 0}
198 | iPhone55inPortraitSplashScreen: {fileID: 0}
199 | iPhone55inLandscapeSplashScreen: {fileID: 0}
200 | iPhone58inPortraitSplashScreen: {fileID: 0}
201 | iPhone58inLandscapeSplashScreen: {fileID: 0}
202 | iPadPortraitSplashScreen: {fileID: 0}
203 | iPadHighResPortraitSplashScreen: {fileID: 0}
204 | iPadLandscapeSplashScreen: {fileID: 0}
205 | iPadHighResLandscapeSplashScreen: {fileID: 0}
206 | iPhone65inPortraitSplashScreen: {fileID: 0}
207 | iPhone65inLandscapeSplashScreen: {fileID: 0}
208 | iPhone61inPortraitSplashScreen: {fileID: 0}
209 | iPhone61inLandscapeSplashScreen: {fileID: 0}
210 | appleTVSplashScreen: {fileID: 0}
211 | appleTVSplashScreen2x: {fileID: 0}
212 | tvOSSmallIconLayers: []
213 | tvOSSmallIconLayers2x: []
214 | tvOSLargeIconLayers: []
215 | tvOSLargeIconLayers2x: []
216 | tvOSTopShelfImageLayers: []
217 | tvOSTopShelfImageLayers2x: []
218 | tvOSTopShelfImageWideLayers: []
219 | tvOSTopShelfImageWideLayers2x: []
220 | iOSLaunchScreenType: 0
221 | iOSLaunchScreenPortrait: {fileID: 0}
222 | iOSLaunchScreenLandscape: {fileID: 0}
223 | iOSLaunchScreenBackgroundColor:
224 | serializedVersion: 2
225 | rgba: 0
226 | iOSLaunchScreenFillPct: 100
227 | iOSLaunchScreenSize: 100
228 | iOSLaunchScreenCustomXibPath:
229 | iOSLaunchScreeniPadType: 0
230 | iOSLaunchScreeniPadImage: {fileID: 0}
231 | iOSLaunchScreeniPadBackgroundColor:
232 | serializedVersion: 2
233 | rgba: 0
234 | iOSLaunchScreeniPadFillPct: 100
235 | iOSLaunchScreeniPadSize: 100
236 | iOSLaunchScreeniPadCustomXibPath:
237 | iOSUseLaunchScreenStoryboard: 0
238 | iOSLaunchScreenCustomStoryboardPath:
239 | iOSDeviceRequirements: []
240 | iOSURLSchemes: []
241 | iOSBackgroundModes: 0
242 | iOSMetalForceHardShadows: 0
243 | metalEditorSupport: 1
244 | metalAPIValidation: 1
245 | iOSRenderExtraFrameOnPause: 0
246 | appleDeveloperTeamID:
247 | iOSManualSigningProvisioningProfileID:
248 | tvOSManualSigningProvisioningProfileID:
249 | iOSManualSigningProvisioningProfileType: 0
250 | tvOSManualSigningProvisioningProfileType: 0
251 | appleEnableAutomaticSigning: 0
252 | iOSRequireARKit: 0
253 | iOSAutomaticallyDetectAndAddCapabilities: 1
254 | appleEnableProMotion: 0
255 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea
256 | templatePackageId: com.unity.template.3d@3.1.4
257 | templateDefaultScene: Assets/Scenes/SampleScene.unity
258 | AndroidTargetArchitectures: 1
259 | AndroidSplashScreenScale: 0
260 | androidSplashScreen: {fileID: 0}
261 | AndroidKeystoreName: '{inproject}: '
262 | AndroidKeyaliasName:
263 | AndroidBuildApkPerCpuArchitecture: 0
264 | AndroidTVCompatibility: 0
265 | AndroidIsGame: 1
266 | AndroidEnableTango: 0
267 | androidEnableBanner: 1
268 | androidUseLowAccuracyLocation: 0
269 | androidUseCustomKeystore: 0
270 | m_AndroidBanners:
271 | - width: 320
272 | height: 180
273 | banner: {fileID: 0}
274 | androidGamepadSupportLevel: 0
275 | AndroidValidateAppBundleSize: 1
276 | AndroidAppBundleSizeToValidate: 150
277 | resolutionDialogBanner: {fileID: 0}
278 | m_BuildTargetIcons: []
279 | m_BuildTargetPlatformIcons: []
280 | m_BuildTargetBatching:
281 | - m_BuildTarget: Standalone
282 | m_StaticBatching: 1
283 | m_DynamicBatching: 0
284 | - m_BuildTarget: tvOS
285 | m_StaticBatching: 1
286 | m_DynamicBatching: 0
287 | - m_BuildTarget: Android
288 | m_StaticBatching: 1
289 | m_DynamicBatching: 0
290 | - m_BuildTarget: iPhone
291 | m_StaticBatching: 1
292 | m_DynamicBatching: 0
293 | - m_BuildTarget: WebGL
294 | m_StaticBatching: 0
295 | m_DynamicBatching: 0
296 | m_BuildTargetGraphicsAPIs:
297 | - m_BuildTarget: AndroidPlayer
298 | m_APIs: 150000000b000000
299 | m_Automatic: 0
300 | - m_BuildTarget: iOSSupport
301 | m_APIs: 10000000
302 | m_Automatic: 1
303 | - m_BuildTarget: AppleTVSupport
304 | m_APIs: 10000000
305 | m_Automatic: 0
306 | - m_BuildTarget: WebGLSupport
307 | m_APIs: 0b000000
308 | m_Automatic: 1
309 | m_BuildTargetVRSettings:
310 | - m_BuildTarget: Standalone
311 | m_Enabled: 0
312 | m_Devices:
313 | - Oculus
314 | - OpenVR
315 | openGLRequireES31: 0
316 | openGLRequireES31AEP: 0
317 | openGLRequireES32: 0
318 | vuforiaEnabled: 0
319 | m_TemplateCustomTags: {}
320 | mobileMTRendering:
321 | Android: 1
322 | iPhone: 1
323 | tvOS: 1
324 | m_BuildTargetGroupLightmapEncodingQuality: []
325 | m_BuildTargetGroupLightmapSettings: []
326 | playModeTestRunnerEnabled: 0
327 | runPlayModeTestAsEditModeTest: 0
328 | actionOnDotNetUnhandledException: 1
329 | enableInternalProfiler: 0
330 | logObjCUncaughtExceptions: 1
331 | enableCrashReportAPI: 0
332 | cameraUsageDescription:
333 | locationUsageDescription:
334 | microphoneUsageDescription:
335 | switchNetLibKey:
336 | switchSocketMemoryPoolSize: 6144
337 | switchSocketAllocatorPoolSize: 128
338 | switchSocketConcurrencyLimit: 14
339 | switchScreenResolutionBehavior: 2
340 | switchUseCPUProfiler: 0
341 | switchApplicationID: 0x01004b9000490000
342 | switchNSODependencies:
343 | switchTitleNames_0:
344 | switchTitleNames_1:
345 | switchTitleNames_2:
346 | switchTitleNames_3:
347 | switchTitleNames_4:
348 | switchTitleNames_5:
349 | switchTitleNames_6:
350 | switchTitleNames_7:
351 | switchTitleNames_8:
352 | switchTitleNames_9:
353 | switchTitleNames_10:
354 | switchTitleNames_11:
355 | switchTitleNames_12:
356 | switchTitleNames_13:
357 | switchTitleNames_14:
358 | switchPublisherNames_0:
359 | switchPublisherNames_1:
360 | switchPublisherNames_2:
361 | switchPublisherNames_3:
362 | switchPublisherNames_4:
363 | switchPublisherNames_5:
364 | switchPublisherNames_6:
365 | switchPublisherNames_7:
366 | switchPublisherNames_8:
367 | switchPublisherNames_9:
368 | switchPublisherNames_10:
369 | switchPublisherNames_11:
370 | switchPublisherNames_12:
371 | switchPublisherNames_13:
372 | switchPublisherNames_14:
373 | switchIcons_0: {fileID: 0}
374 | switchIcons_1: {fileID: 0}
375 | switchIcons_2: {fileID: 0}
376 | switchIcons_3: {fileID: 0}
377 | switchIcons_4: {fileID: 0}
378 | switchIcons_5: {fileID: 0}
379 | switchIcons_6: {fileID: 0}
380 | switchIcons_7: {fileID: 0}
381 | switchIcons_8: {fileID: 0}
382 | switchIcons_9: {fileID: 0}
383 | switchIcons_10: {fileID: 0}
384 | switchIcons_11: {fileID: 0}
385 | switchIcons_12: {fileID: 0}
386 | switchIcons_13: {fileID: 0}
387 | switchIcons_14: {fileID: 0}
388 | switchSmallIcons_0: {fileID: 0}
389 | switchSmallIcons_1: {fileID: 0}
390 | switchSmallIcons_2: {fileID: 0}
391 | switchSmallIcons_3: {fileID: 0}
392 | switchSmallIcons_4: {fileID: 0}
393 | switchSmallIcons_5: {fileID: 0}
394 | switchSmallIcons_6: {fileID: 0}
395 | switchSmallIcons_7: {fileID: 0}
396 | switchSmallIcons_8: {fileID: 0}
397 | switchSmallIcons_9: {fileID: 0}
398 | switchSmallIcons_10: {fileID: 0}
399 | switchSmallIcons_11: {fileID: 0}
400 | switchSmallIcons_12: {fileID: 0}
401 | switchSmallIcons_13: {fileID: 0}
402 | switchSmallIcons_14: {fileID: 0}
403 | switchManualHTML:
404 | switchAccessibleURLs:
405 | switchLegalInformation:
406 | switchMainThreadStackSize: 1048576
407 | switchPresenceGroupId:
408 | switchLogoHandling: 0
409 | switchReleaseVersion: 0
410 | switchDisplayVersion: 1.0.0
411 | switchStartupUserAccount: 0
412 | switchTouchScreenUsage: 0
413 | switchSupportedLanguagesMask: 0
414 | switchLogoType: 0
415 | switchApplicationErrorCodeCategory:
416 | switchUserAccountSaveDataSize: 0
417 | switchUserAccountSaveDataJournalSize: 0
418 | switchApplicationAttribute: 0
419 | switchCardSpecSize: -1
420 | switchCardSpecClock: -1
421 | switchRatingsMask: 0
422 | switchRatingsInt_0: 0
423 | switchRatingsInt_1: 0
424 | switchRatingsInt_2: 0
425 | switchRatingsInt_3: 0
426 | switchRatingsInt_4: 0
427 | switchRatingsInt_5: 0
428 | switchRatingsInt_6: 0
429 | switchRatingsInt_7: 0
430 | switchRatingsInt_8: 0
431 | switchRatingsInt_9: 0
432 | switchRatingsInt_10: 0
433 | switchRatingsInt_11: 0
434 | switchLocalCommunicationIds_0:
435 | switchLocalCommunicationIds_1:
436 | switchLocalCommunicationIds_2:
437 | switchLocalCommunicationIds_3:
438 | switchLocalCommunicationIds_4:
439 | switchLocalCommunicationIds_5:
440 | switchLocalCommunicationIds_6:
441 | switchLocalCommunicationIds_7:
442 | switchParentalControl: 0
443 | switchAllowsScreenshot: 1
444 | switchAllowsVideoCapturing: 1
445 | switchAllowsRuntimeAddOnContentInstall: 0
446 | switchDataLossConfirmation: 0
447 | switchUserAccountLockEnabled: 0
448 | switchSystemResourceMemory: 16777216
449 | switchSupportedNpadStyles: 22
450 | switchNativeFsCacheSize: 32
451 | switchIsHoldTypeHorizontal: 0
452 | switchSupportedNpadCount: 8
453 | switchSocketConfigEnabled: 0
454 | switchTcpInitialSendBufferSize: 32
455 | switchTcpInitialReceiveBufferSize: 64
456 | switchTcpAutoSendBufferSizeMax: 256
457 | switchTcpAutoReceiveBufferSizeMax: 256
458 | switchUdpSendBufferSize: 9
459 | switchUdpReceiveBufferSize: 42
460 | switchSocketBufferEfficiency: 4
461 | switchSocketInitializeEnabled: 1
462 | switchNetworkInterfaceManagerInitializeEnabled: 1
463 | switchPlayerConnectionEnabled: 1
464 | ps4NPAgeRating: 12
465 | ps4NPTitleSecret:
466 | ps4NPTrophyPackPath:
467 | ps4ParentalLevel: 11
468 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000
469 | ps4Category: 0
470 | ps4MasterVersion: 01.00
471 | ps4AppVersion: 01.00
472 | ps4AppType: 0
473 | ps4ParamSfxPath:
474 | ps4VideoOutPixelFormat: 0
475 | ps4VideoOutInitialWidth: 1920
476 | ps4VideoOutBaseModeInitialWidth: 1920
477 | ps4VideoOutReprojectionRate: 60
478 | ps4PronunciationXMLPath:
479 | ps4PronunciationSIGPath:
480 | ps4BackgroundImagePath:
481 | ps4StartupImagePath:
482 | ps4StartupImagesFolder:
483 | ps4IconImagesFolder:
484 | ps4SaveDataImagePath:
485 | ps4SdkOverride:
486 | ps4BGMPath:
487 | ps4ShareFilePath:
488 | ps4ShareOverlayImagePath:
489 | ps4PrivacyGuardImagePath:
490 | ps4NPtitleDatPath:
491 | ps4RemotePlayKeyAssignment: -1
492 | ps4RemotePlayKeyMappingDir:
493 | ps4PlayTogetherPlayerCount: 0
494 | ps4EnterButtonAssignment: 1
495 | ps4ApplicationParam1: 0
496 | ps4ApplicationParam2: 0
497 | ps4ApplicationParam3: 0
498 | ps4ApplicationParam4: 0
499 | ps4DownloadDataSize: 0
500 | ps4GarlicHeapSize: 2048
501 | ps4ProGarlicHeapSize: 2560
502 | playerPrefsMaxSize: 32768
503 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
504 | ps4pnSessions: 1
505 | ps4pnPresence: 1
506 | ps4pnFriends: 1
507 | ps4pnGameCustomData: 1
508 | playerPrefsSupport: 0
509 | enableApplicationExit: 0
510 | resetTempFolder: 1
511 | restrictedAudioUsageRights: 0
512 | ps4UseResolutionFallback: 0
513 | ps4ReprojectionSupport: 0
514 | ps4UseAudio3dBackend: 0
515 | ps4SocialScreenEnabled: 0
516 | ps4ScriptOptimizationLevel: 0
517 | ps4Audio3dVirtualSpeakerCount: 14
518 | ps4attribCpuUsage: 0
519 | ps4PatchPkgPath:
520 | ps4PatchLatestPkgPath:
521 | ps4PatchChangeinfoPath:
522 | ps4PatchDayOne: 0
523 | ps4attribUserManagement: 0
524 | ps4attribMoveSupport: 0
525 | ps4attrib3DSupport: 0
526 | ps4attribShareSupport: 0
527 | ps4attribExclusiveVR: 0
528 | ps4disableAutoHideSplash: 0
529 | ps4videoRecordingFeaturesUsed: 0
530 | ps4contentSearchFeaturesUsed: 0
531 | ps4attribEyeToEyeDistanceSettingVR: 0
532 | ps4IncludedModules: []
533 | monoEnv:
534 | splashScreenBackgroundSourceLandscape: {fileID: 0}
535 | splashScreenBackgroundSourcePortrait: {fileID: 0}
536 | blurSplashScreenBackground: 1
537 | spritePackerPolicy:
538 | webGLMemorySize: 16
539 | webGLExceptionSupport: 1
540 | webGLNameFilesAsHashes: 0
541 | webGLDataCaching: 1
542 | webGLDebugSymbols: 0
543 | webGLEmscriptenArgs:
544 | webGLModulesDirectory:
545 | webGLTemplate: APPLICATION:Default
546 | webGLAnalyzeBuildSize: 0
547 | webGLUseEmbeddedResources: 0
548 | webGLCompressionFormat: 1
549 | webGLLinkerTarget: 1
550 | webGLThreadsSupport: 0
551 | webGLWasmStreaming: 0
552 | scriptingDefineSymbols: {}
553 | platformArchitecture: {}
554 | scriptingBackend: {}
555 | il2cppCompilerConfiguration: {}
556 | managedStrippingLevel: {}
557 | incrementalIl2cppBuild: {}
558 | allowUnsafeCode: 0
559 | additionalIl2CppArgs:
560 | scriptingRuntimeVersion: 1
561 | gcIncremental: 0
562 | gcWBarrierValidation: 0
563 | apiCompatibilityLevelPerPlatform: {}
564 | m_RenderingPath: 1
565 | m_MobileRenderingPath: 1
566 | metroPackageName: Template_3D
567 | metroPackageVersion:
568 | metroCertificatePath:
569 | metroCertificatePassword:
570 | metroCertificateSubject:
571 | metroCertificateIssuer:
572 | metroCertificateNotAfter: 0000000000000000
573 | metroApplicationDescription: Template_3D
574 | wsaImages: {}
575 | metroTileShortName:
576 | metroTileShowName: 0
577 | metroMediumTileShowName: 0
578 | metroLargeTileShowName: 0
579 | metroWideTileShowName: 0
580 | metroSupportStreamingInstall: 0
581 | metroLastRequiredScene: 0
582 | metroDefaultTileSize: 1
583 | metroTileForegroundText: 2
584 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0}
585 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628,
586 | a: 1}
587 | metroSplashScreenUseBackgroundColor: 0
588 | platformCapabilities: {}
589 | metroTargetDeviceFamilies: {}
590 | metroFTAName:
591 | metroFTAFileTypes: []
592 | metroProtocolName:
593 | XboxOneProductId:
594 | XboxOneUpdateKey:
595 | XboxOneSandboxId:
596 | XboxOneContentId:
597 | XboxOneTitleId:
598 | XboxOneSCId:
599 | XboxOneGameOsOverridePath:
600 | XboxOnePackagingOverridePath:
601 | XboxOneAppManifestOverridePath:
602 | XboxOneVersion: 1.0.0.0
603 | XboxOnePackageEncryption: 0
604 | XboxOnePackageUpdateGranularity: 2
605 | XboxOneDescription:
606 | XboxOneLanguage:
607 | - enus
608 | XboxOneCapability: []
609 | XboxOneGameRating: {}
610 | XboxOneIsContentPackage: 0
611 | XboxOneEnableGPUVariability: 1
612 | XboxOneSockets: {}
613 | XboxOneSplashScreen: {fileID: 0}
614 | XboxOneAllowedProductIds: []
615 | XboxOnePersistentLocalStorageSize: 0
616 | XboxOneXTitleMemory: 8
617 | xboxOneScriptCompiler: 1
618 | XboxOneOverrideIdentityName:
619 | vrEditorSettings:
620 | daydream:
621 | daydreamIconForeground: {fileID: 0}
622 | daydreamIconBackground: {fileID: 0}
623 | cloudServicesEnabled:
624 | UNet: 1
625 | luminIcon:
626 | m_Name:
627 | m_ModelFolderPath:
628 | m_PortalFolderPath:
629 | luminCert:
630 | m_CertPath:
631 | m_SignPackage: 1
632 | luminIsChannelApp: 0
633 | luminVersion:
634 | m_VersionCode: 1
635 | m_VersionName:
636 | facebookSdkVersion: 7.9.4
637 | facebookAppId:
638 | facebookCookies: 1
639 | facebookLogging: 1
640 | facebookStatus: 1
641 | facebookXfbml: 0
642 | facebookFrictionlessRequests: 1
643 | apiCompatibilityLevel: 6
644 | cloudProjectId:
645 | framebufferDepthMemorylessMode: 0
646 | projectName:
647 | organizationId:
648 | cloudEnabled: 0
649 | enableNativePlatformBackendsForNewInputSystem: 0
650 | disableOldInputManagerSupport: 0
651 | legacyClampBlendShapeWeights: 0
652 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2019.4.14f1
2 | m_EditorVersionWithRevision: 2019.4.14f1 (4037e52648cd)
3 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/QualitySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!47 &1
4 | QualitySettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 5
7 | m_CurrentQuality: 5
8 | m_QualitySettings:
9 | - serializedVersion: 2
10 | name: Very Low
11 | pixelLightCount: 0
12 | shadows: 0
13 | shadowResolution: 0
14 | shadowProjection: 1
15 | shadowCascades: 1
16 | shadowDistance: 15
17 | shadowNearPlaneOffset: 3
18 | shadowCascade2Split: 0.33333334
19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
20 | shadowmaskMode: 0
21 | blendWeights: 1
22 | textureQuality: 1
23 | anisotropicTextures: 0
24 | antiAliasing: 0
25 | softParticles: 0
26 | softVegetation: 0
27 | realtimeReflectionProbes: 0
28 | billboardsFaceCameraPosition: 0
29 | vSyncCount: 0
30 | lodBias: 0.3
31 | maximumLODLevel: 0
32 | streamingMipmapsActive: 0
33 | streamingMipmapsAddAllCameras: 1
34 | streamingMipmapsMemoryBudget: 512
35 | streamingMipmapsRenderersPerFrame: 512
36 | streamingMipmapsMaxLevelReduction: 2
37 | streamingMipmapsMaxFileIORequests: 1024
38 | particleRaycastBudget: 4
39 | asyncUploadTimeSlice: 2
40 | asyncUploadBufferSize: 16
41 | asyncUploadPersistentBuffer: 1
42 | resolutionScalingFixedDPIFactor: 1
43 | excludedTargetPlatforms: []
44 | - serializedVersion: 2
45 | name: Low
46 | pixelLightCount: 0
47 | shadows: 0
48 | shadowResolution: 0
49 | shadowProjection: 1
50 | shadowCascades: 1
51 | shadowDistance: 20
52 | shadowNearPlaneOffset: 3
53 | shadowCascade2Split: 0.33333334
54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
55 | shadowmaskMode: 0
56 | blendWeights: 2
57 | textureQuality: 0
58 | anisotropicTextures: 0
59 | antiAliasing: 0
60 | softParticles: 0
61 | softVegetation: 0
62 | realtimeReflectionProbes: 0
63 | billboardsFaceCameraPosition: 0
64 | vSyncCount: 0
65 | lodBias: 0.4
66 | maximumLODLevel: 0
67 | streamingMipmapsActive: 0
68 | streamingMipmapsAddAllCameras: 1
69 | streamingMipmapsMemoryBudget: 512
70 | streamingMipmapsRenderersPerFrame: 512
71 | streamingMipmapsMaxLevelReduction: 2
72 | streamingMipmapsMaxFileIORequests: 1024
73 | particleRaycastBudget: 16
74 | asyncUploadTimeSlice: 2
75 | asyncUploadBufferSize: 16
76 | asyncUploadPersistentBuffer: 1
77 | resolutionScalingFixedDPIFactor: 1
78 | excludedTargetPlatforms: []
79 | - serializedVersion: 2
80 | name: Medium
81 | pixelLightCount: 1
82 | shadows: 1
83 | shadowResolution: 0
84 | shadowProjection: 1
85 | shadowCascades: 1
86 | shadowDistance: 20
87 | shadowNearPlaneOffset: 3
88 | shadowCascade2Split: 0.33333334
89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
90 | shadowmaskMode: 0
91 | blendWeights: 2
92 | textureQuality: 0
93 | anisotropicTextures: 1
94 | antiAliasing: 0
95 | softParticles: 0
96 | softVegetation: 0
97 | realtimeReflectionProbes: 0
98 | billboardsFaceCameraPosition: 0
99 | vSyncCount: 1
100 | lodBias: 0.7
101 | maximumLODLevel: 0
102 | streamingMipmapsActive: 0
103 | streamingMipmapsAddAllCameras: 1
104 | streamingMipmapsMemoryBudget: 512
105 | streamingMipmapsRenderersPerFrame: 512
106 | streamingMipmapsMaxLevelReduction: 2
107 | streamingMipmapsMaxFileIORequests: 1024
108 | particleRaycastBudget: 64
109 | asyncUploadTimeSlice: 2
110 | asyncUploadBufferSize: 16
111 | asyncUploadPersistentBuffer: 1
112 | resolutionScalingFixedDPIFactor: 1
113 | excludedTargetPlatforms: []
114 | - serializedVersion: 2
115 | name: High
116 | pixelLightCount: 2
117 | shadows: 2
118 | shadowResolution: 1
119 | shadowProjection: 1
120 | shadowCascades: 2
121 | shadowDistance: 40
122 | shadowNearPlaneOffset: 3
123 | shadowCascade2Split: 0.33333334
124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
125 | shadowmaskMode: 1
126 | blendWeights: 2
127 | textureQuality: 0
128 | anisotropicTextures: 1
129 | antiAliasing: 0
130 | softParticles: 0
131 | softVegetation: 1
132 | realtimeReflectionProbes: 1
133 | billboardsFaceCameraPosition: 1
134 | vSyncCount: 1
135 | lodBias: 1
136 | maximumLODLevel: 0
137 | streamingMipmapsActive: 0
138 | streamingMipmapsAddAllCameras: 1
139 | streamingMipmapsMemoryBudget: 512
140 | streamingMipmapsRenderersPerFrame: 512
141 | streamingMipmapsMaxLevelReduction: 2
142 | streamingMipmapsMaxFileIORequests: 1024
143 | particleRaycastBudget: 256
144 | asyncUploadTimeSlice: 2
145 | asyncUploadBufferSize: 16
146 | asyncUploadPersistentBuffer: 1
147 | resolutionScalingFixedDPIFactor: 1
148 | excludedTargetPlatforms: []
149 | - serializedVersion: 2
150 | name: Very High
151 | pixelLightCount: 3
152 | shadows: 2
153 | shadowResolution: 2
154 | shadowProjection: 1
155 | shadowCascades: 2
156 | shadowDistance: 70
157 | shadowNearPlaneOffset: 3
158 | shadowCascade2Split: 0.33333334
159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
160 | shadowmaskMode: 1
161 | blendWeights: 4
162 | textureQuality: 0
163 | anisotropicTextures: 2
164 | antiAliasing: 2
165 | softParticles: 1
166 | softVegetation: 1
167 | realtimeReflectionProbes: 1
168 | billboardsFaceCameraPosition: 1
169 | vSyncCount: 1
170 | lodBias: 1.5
171 | maximumLODLevel: 0
172 | streamingMipmapsActive: 0
173 | streamingMipmapsAddAllCameras: 1
174 | streamingMipmapsMemoryBudget: 512
175 | streamingMipmapsRenderersPerFrame: 512
176 | streamingMipmapsMaxLevelReduction: 2
177 | streamingMipmapsMaxFileIORequests: 1024
178 | particleRaycastBudget: 1024
179 | asyncUploadTimeSlice: 2
180 | asyncUploadBufferSize: 16
181 | asyncUploadPersistentBuffer: 1
182 | resolutionScalingFixedDPIFactor: 1
183 | excludedTargetPlatforms: []
184 | - serializedVersion: 2
185 | name: Ultra
186 | pixelLightCount: 4
187 | shadows: 2
188 | shadowResolution: 2
189 | shadowProjection: 1
190 | shadowCascades: 4
191 | shadowDistance: 150
192 | shadowNearPlaneOffset: 3
193 | shadowCascade2Split: 0.33333334
194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
195 | shadowmaskMode: 1
196 | blendWeights: 4
197 | textureQuality: 0
198 | anisotropicTextures: 2
199 | antiAliasing: 2
200 | softParticles: 1
201 | softVegetation: 1
202 | realtimeReflectionProbes: 1
203 | billboardsFaceCameraPosition: 1
204 | vSyncCount: 1
205 | lodBias: 2
206 | maximumLODLevel: 0
207 | streamingMipmapsActive: 0
208 | streamingMipmapsAddAllCameras: 1
209 | streamingMipmapsMemoryBudget: 512
210 | streamingMipmapsRenderersPerFrame: 512
211 | streamingMipmapsMaxLevelReduction: 2
212 | streamingMipmapsMaxFileIORequests: 1024
213 | particleRaycastBudget: 4096
214 | asyncUploadTimeSlice: 2
215 | asyncUploadBufferSize: 16
216 | asyncUploadPersistentBuffer: 1
217 | resolutionScalingFixedDPIFactor: 1
218 | excludedTargetPlatforms: []
219 | m_PerPlatformDefaultQuality:
220 | Android: 2
221 | Lumin: 5
222 | Nintendo 3DS: 5
223 | Nintendo Switch: 5
224 | PS4: 5
225 | PSP2: 2
226 | Standalone: 5
227 | WebGL: 3
228 | Windows Store Apps: 5
229 | XboxOne: 5
230 | iPhone: 2
231 | tvOS: 2
232 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | -
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.33333334
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 0
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_RenderPipeSettingsPath:
10 | m_FixedTimeStep: 0.016666668
11 | m_MaxDeltaTime: 0.05
12 |
--------------------------------------------------------------------------------
/LightAssistant~/ProjectSettings/XRSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_SettingKeys": [
3 | "VR Device Disabled",
4 | "VR Device User Alert"
5 | ],
6 | "m_SettingValues": [
7 | "False",
8 | "False"
9 | ]
10 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # LightAssistant
2 |
3 | [](https://badges.cds.internal.unity3d.com/packages/com.unity.light-assistant/build-info?branch=dev&testWorkflow=package-isolation)
4 | [](https://badges.cds.internal.unity3d.com/packages/com.unity.light-assistant/dependencies-info?branch=dev&testWorkflow=updated-dependencies)
5 | [](https://badges.cds.internal.unity3d.com/packages/com.unity.light-assistant/dependants-info)
6 | [](https://badges.cds.internal.unity3d.com/packages/com.unity.light-assistant/warnings-info?branch=dev)
7 |
8 |
9 | 
10 | 
11 |
--------------------------------------------------------------------------------
/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 55432716b26af0f4fb5acd8d5d485c04
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Tests.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 179da9cdada420b428b3ed9290f643c5
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Tests/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9d506b061d2264047bfceaf977c3ccb1
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Tests/Editor/EditorTests.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using NUnit.Framework;
4 | using UnityEngine;
5 | using UnityEngine.TestTools;
6 |
7 | namespace Tests
8 | {
9 | public class EditorTests
10 | {
11 | // A Test behaves as an ordinary method
12 | [Test]
13 | public void EditorTestsSimplePasses()
14 | {
15 | // Use the Assert class to test conditions
16 | }
17 |
18 | // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use
19 | // `yield return null;` to skip a frame.
20 | [UnityTest]
21 | public IEnumerator EditorTestsWithEnumeratorPasses()
22 | {
23 | // Use the Assert class to test conditions.
24 | // Use yield to skip a frame.
25 | yield return null;
26 | }
27 | }
28 | } //end namespace
29 |
--------------------------------------------------------------------------------
/Tests/Editor/EditorTests.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c631777e12e9b2342a1b5279d7e7e04e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Tests/Editor/com.unity.lightassistant.tests.editor.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "com.unity.lightassistant.tests.editor",
3 | "references": [
4 | "UnityEngine.TestRunner",
5 | "UnityEditor.TestRunner"
6 | ],
7 | "includePlatforms": [],
8 | "excludePlatforms": [
9 | "Editor"
10 | ],
11 | "allowUnsafeCode": false,
12 | "overrideReferences": true,
13 | "precompiledReferences": [
14 | "nunit.framework.dll"
15 | ],
16 | "autoReferenced": false,
17 | "defineConstraints": [
18 | "UNITY_INCLUDE_TESTS"
19 | ],
20 | "versionDefines": [],
21 | "noEngineReferences": false
22 | }
--------------------------------------------------------------------------------
/Tests/Editor/com.unity.lightassistant.tests.editor.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5d68c8c10b7da9d4993d67fdd90b5aed
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Tests/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a5117236c43d59a49a03dcc90ea8c6bc
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Tests/Runtime/RuntimeTests.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using NUnit.Framework;
4 | using UnityEngine;
5 | using UnityEngine.TestTools;
6 |
7 | namespace Tests
8 | {
9 | public class RuntimeTests
10 | {
11 | // A Test behaves as an ordinary method
12 | [Test]
13 | public void RuntimeTestsSimplePasses()
14 | {
15 | // Use the Assert class to test conditions
16 | }
17 |
18 | // A UnityTest behaves like a coroutine in Play Mode. In Edit Mode you can use
19 | // `yield return null;` to skip a frame.
20 | [UnityTest]
21 | public IEnumerator RuntimeTestsWithEnumeratorPasses()
22 | {
23 | // Use the Assert class to test conditions.
24 | // Use yield to skip a frame.
25 | yield return null;
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Tests/Runtime/RuntimeTests.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d38b64b430e32554b994253b84c823af
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Tests/Runtime/com.unity.lightassistant.tests.runtime.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "com.unity.lightassistant.tests.runtime",
3 | "references": [
4 | "UnityEngine.TestRunner",
5 | "UnityEditor.TestRunner"
6 | ],
7 | "includePlatforms": [],
8 | "excludePlatforms": [],
9 | "allowUnsafeCode": false,
10 | "overrideReferences": true,
11 | "precompiledReferences": [
12 | "nunit.framework.dll"
13 | ],
14 | "autoReferenced": false,
15 | "defineConstraints": [
16 | "UNITY_INCLUDE_TESTS"
17 | ],
18 | "versionDefines": [],
19 | "noEngineReferences": false
20 | }
--------------------------------------------------------------------------------
/Tests/Runtime/com.unity.lightassistant.tests.runtime.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4f5df2ad6e2c2de4e8a7cb452f8b003b
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "displayName": "Light Assistant",
3 | "name": "com.unity.light-assistant",
4 | "unity": "2019.4",
5 | "version": "1.0.0-pre.1",
6 | "dependencies": {
7 | "com.unity.selection-groups": "0.2.1-preview"
8 | },
9 | "description": "Provides editor tools for showing relationships between lights and renderers.",
10 | "contributors": [
11 | "Simon Wittber (https://github.com/smnwttbr)",
12 | "Unity Technologies Japan"
13 | ],
14 | "type": "tool"
15 | }
16 |
--------------------------------------------------------------------------------
/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4e76ac4419917c6448467660825a6d8d
3 | PackageManifestImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------