Skip to content

Commit c616237

Browse files
author
Leszek
committed
⭐ Moved to Unity 2022.2.2f1
1 parent be24235 commit c616237

11 files changed

+89
-108
lines changed

.gitignore

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# This .gitignore file should be placed at the root of your Unity project directory
2+
#
3+
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
4+
#
25
/[Ll]ibrary/
36
/[Tt]emp/
47
/[Oo]bj/
@@ -66,38 +69,4 @@ crashlytics-build.properties
6669

6770
# Temporary auto-generated Android Assets
6871
/[Aa]ssets/[Ss]treamingAssets/aa.meta
69-
/[Aa]ssets/[Ss]treamingAssets/aa/*
70-
71-
# Compiled source
72-
*.com
73-
*.class
74-
*.dll
75-
*.exe
76-
*.o
77-
*.so
78-
79-
# Packages
80-
# it's better to unpack these files and commit the raw source
81-
# git has its own built in compression methods
82-
*.7z
83-
*.dmg
84-
*.gz
85-
*.iso
86-
*.jar
87-
*.rar
88-
*.tar
89-
*.zip
90-
91-
# Logs and databases
92-
*.log
93-
*.sql
94-
*.sqlite
95-
96-
# OS generated files
97-
.DS_Store
98-
.DS_Store?
99-
._*
100-
.Spotlight-V100
101-
.Trashes
102-
ehthumbs.db
103-
Thumbs.db
72+
/[Aa]ssets/[Ss]treamingAssets/aa/*

Assets/LocalizationToolkit/Editor/LocalizationManagerEditor.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
using System.IO;
1+
/*
2+
* This script is a custom editor for the LocalizationManager class in Unity.
3+
* The script is used to create a custom inspector in the Unity editor that allows
4+
* the user to load localization data from either a file on the web or a local file,
5+
* as well as select and load a specific language.
6+
*/
7+
8+
using System.IO;
29
using UnityEditor;
310
using UnityEngine;
411

Assets/LocalizationToolkit/Editor/LocalizationWindowEditor.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
using System;
1+
/*
2+
* The script is an editor window script for Unity, specifically a localization editor window that allows the user to load, edit, and save localization data.
3+
* Defines a custom class called LocalizationData, and an instance of this class is used to store the current localization data being edited in the window.
4+
* Main functionality is loading and saving localization data from web URL or a local file in JSON or XML format, as well as creating new localization data.
5+
*/
6+
7+
using System;
28
using System.Collections.Generic;
39
using System.IO;
410
using System.Linq;

Assets/LocalizationToolkit/Editor/LocalizedTextEditor.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,19 @@ public class LocalizedTextEditor : Editor {
99
private int _selectedIndex;
1010

1111
public override void OnInspectorGUI() {
12+
// First checks if a reference to the LocalizationManager script has been set and if not,
13+
// it tries to find one in the current scene. Then, it creates a text field where the user
14+
// can input the key, or id, for the text that they want to display.
1215
if (_localizationManager == null)
1316
_localizationManager = FindObjectOfType<LocalizationManager>();
1417

1518
LocalizedText myTarget = (LocalizedText)target;
1619
myTarget.key = EditorGUILayout.TextField("Translation ID", myTarget.key);
1720

21+
// The code then retrieves a list of keys from the LocalizationManager and uses them to
22+
// populate a dropdown list in the inspector. The user can select a key from the list and
23+
// press the 'Set selected key' button to set the key for the LocalizedText. This allows
24+
// for easy selection and assignment of keys for localized text.
1825
string[] keysToShow = _localizationManager.GetKeys();
1926
if (keysToShow != null)
2027
{

Logs/Packages-Update.log

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,17 @@ The following packages were updated:
5959
com.unity.test-framework from version 1.1.29 to 1.1.31
6060
com.unity.timeline from version 1.6.3 to 1.7.1
6161
com.unity.visualscripting from version 1.7.6 to 1.7.8
62+
63+
=== Sat Jan 21 19:31:16 2023
64+
65+
Packages were changed.
66+
Update Mode: updateDependencies
67+
68+
The following packages were added:
69+
com.unity.ai.navigation@1.1.1
70+
The following packages were updated:
71+
com.unity.collab-proxy from version 1.17.1 to 1.17.7
72+
com.unity.ide.rider from version 3.0.15 to 3.0.17
73+
com.unity.ide.visualstudio from version 2.0.16 to 2.0.17
74+
com.unity.test-framework from version 1.1.31 to 1.1.33
75+
com.unity.visualscripting from version 1.7.8 to 1.8.0

Logs/shadercompiler-UnityShaderCompiler0.log

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Base path: '/Applications/Unity/2022.1.9f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.1.9f1/Unity.app/Contents/PlaybackEngines'
1+
Base path: '/Applications/Unity/2022.2.2f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.2.2f1/Unity.app/Contents/PlaybackEngines'
22
Cmd: initializeCompiler
33

44
Cmd: compileSnippet
5-
insize=817 file=Packages/com.unity.textmeshpro/Editor Resources/Shaders/Hidden/TMP/Internal/Editor/Distance Field SSD pass=<Unnamed Pass 0> ppOnly=0 stripLineD=0 buildPlatform=2 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING uKW= dKW=OUTLINE_ON UNDERLAY_ON UNDERLAY_INNER UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Vertex platform=metal reqs=33 mask=6 start=58 ok=1 outsize=4152
5+
insize=857 file=Packages/com.unity.textmeshpro/Editor Resources/Shaders/Hidden/TMP/Internal/Editor/Distance Field SSD pass=<Unnamed Pass 0> ppOnly=0 stripLineD=0 buildPlatform=2 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING uKW= dKW=OUTLINE_ON UNDERLAY_ON UNDERLAY_INNER UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Vertex platform=metal reqs=33 mask=6 start=58 ok=1 outsize=4152
66

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Base path: '/Applications/Unity/2022.1.9f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.1.9f1/Unity.app/Contents/PlaybackEngines'
1+
Base path: '/Applications/Unity/2022.2.2f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.2.2f1/Unity.app/Contents/PlaybackEngines'
22
Cmd: initializeCompiler
33

44
Cmd: compileSnippet
5-
insize=817 file=Packages/com.unity.textmeshpro/Editor Resources/Shaders/Hidden/TMP/Internal/Editor/Distance Field SSD pass=<Unnamed Pass 0> ppOnly=0 stripLineD=0 buildPlatform=2 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING uKW= dKW=OUTLINE_ON UNDERLAY_ON UNDERLAY_INNER UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Fragment platform=metal reqs=33 mask=6 start=58 ok=1 outsize=1917
5+
insize=857 file=Packages/com.unity.textmeshpro/Editor Resources/Shaders/Hidden/TMP/Internal/Editor/Distance Field SSD pass=<Unnamed Pass 0> ppOnly=0 stripLineD=0 buildPlatform=2 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING uKW= dKW=OUTLINE_ON UNDERLAY_ON UNDERLAY_INNER UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Fragment platform=metal reqs=33 mask=6 start=58 ok=1 outsize=1917
66

Packages/manifest.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"dependencies": {
3-
"com.unity.collab-proxy": "1.17.1",
4-
"com.unity.ide.rider": "3.0.15",
5-
"com.unity.ide.visualstudio": "2.0.16",
3+
"com.unity.collab-proxy": "1.17.7",
4+
"com.unity.ide.visualstudio": "2.0.17",
65
"com.unity.ide.vscode": "1.2.5",
7-
"com.unity.test-framework": "1.1.31",
86
"com.unity.textmeshpro": "3.0.6",
97
"com.unity.ugui": "1.0.0",
10-
"com.unity.visualscripting": "1.7.8",
8+
"com.unity.visualscripting": "1.8.0",
119
"com.unity.modules.ai": "1.0.0",
1210
"com.unity.modules.androidjni": "1.0.0",
1311
"com.unity.modules.animation": "1.0.0",

Packages/packages-lock.json

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dependencies": {
33
"com.unity.collab-proxy": {
4-
"version": "1.17.1",
4+
"version": "1.17.7",
55
"depth": 0,
66
"source": "registry",
77
"dependencies": {
@@ -11,22 +11,13 @@
1111
},
1212
"com.unity.ext.nunit": {
1313
"version": "1.0.6",
14-
"depth": 1,
14+
"depth": 2,
1515
"source": "registry",
1616
"dependencies": {},
1717
"url": "https://packages.unity.com"
1818
},
19-
"com.unity.ide.rider": {
20-
"version": "3.0.15",
21-
"depth": 0,
22-
"source": "registry",
23-
"dependencies": {
24-
"com.unity.ext.nunit": "1.0.6"
25-
},
26-
"url": "https://packages.unity.com"
27-
},
2819
"com.unity.ide.visualstudio": {
29-
"version": "2.0.16",
20+
"version": "2.0.17",
3021
"depth": 0,
3122
"source": "registry",
3223
"dependencies": {
@@ -49,7 +40,7 @@
4940
"url": "https://packages.unity.com"
5041
},
5142
"com.unity.services.core": {
52-
"version": "1.4.2",
43+
"version": "1.7.0",
5344
"depth": 1,
5445
"source": "registry",
5546
"dependencies": {
@@ -60,8 +51,8 @@
6051
"url": "https://packages.unity.com"
6152
},
6253
"com.unity.test-framework": {
63-
"version": "1.1.31",
64-
"depth": 0,
54+
"version": "1.1.33",
55+
"depth": 1,
6556
"source": "registry",
6657
"dependencies": {
6758
"com.unity.ext.nunit": "1.0.6",
@@ -89,7 +80,7 @@
8980
}
9081
},
9182
"com.unity.visualscripting": {
92-
"version": "1.7.8",
83+
"version": "1.8.0",
9384
"depth": 0,
9485
"source": "registry",
9586
"dependencies": {
@@ -230,17 +221,6 @@
230221
"version": "1.0.0",
231222
"depth": 0,
232223
"source": "builtin",
233-
"dependencies": {
234-
"com.unity.modules.ui": "1.0.0",
235-
"com.unity.modules.imgui": "1.0.0",
236-
"com.unity.modules.jsonserialize": "1.0.0",
237-
"com.unity.modules.uielementsnative": "1.0.0"
238-
}
239-
},
240-
"com.unity.modules.uielementsnative": {
241-
"version": "1.0.0",
242-
"depth": 1,
243-
"source": "builtin",
244224
"dependencies": {
245225
"com.unity.modules.ui": "1.0.0",
246226
"com.unity.modules.imgui": "1.0.0",

ProjectSettings/ProjectVersion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2022.1.9f1
2-
m_EditorVersionWithRevision: 2022.1.9f1 (07e076b6d414)
1+
m_EditorVersion: 2022.2.2f1
2+
m_EditorVersionWithRevision: 2022.2.2f1 (c93c5d3acf5b)

0 commit comments

Comments
 (0)