Skip to content

Commit

Permalink
⭐ Moved to Unity 2022.2.2f1
Browse files Browse the repository at this point in the history
  • Loading branch information
Leszek committed Jan 21, 2023
1 parent be24235 commit c616237
Show file tree
Hide file tree
Showing 11 changed files with 89 additions and 108 deletions.
39 changes: 4 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
Expand Down Expand Up @@ -66,38 +69,4 @@ crashlytics-build.properties

# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*

# Compiled source
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases
*.log
*.sql
*.sqlite

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
/[Aa]ssets/[Ss]treamingAssets/aa/*
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
using System.IO;
/*
* This script is a custom editor for the LocalizationManager class in Unity.
* The script is used to create a custom inspector in the Unity editor that allows
* the user to load localization data from either a file on the web or a local file,
* as well as select and load a specific language.
*/

using System.IO;
using UnityEditor;
using UnityEngine;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
using System;
/*
* 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.
* 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.
* 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.
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
7 changes: 7 additions & 0 deletions Assets/LocalizationToolkit/Editor/LocalizedTextEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ public class LocalizedTextEditor : Editor {
private int _selectedIndex;

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

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

// The code then retrieves a list of keys from the LocalizationManager and uses them to
// populate a dropdown list in the inspector. The user can select a key from the list and
// press the 'Set selected key' button to set the key for the LocalizedText. This allows
// for easy selection and assignment of keys for localized text.
string[] keysToShow = _localizationManager.GetKeys();
if (keysToShow != null)
{
Expand Down
14 changes: 14 additions & 0 deletions Logs/Packages-Update.log
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,17 @@ The following packages were updated:
com.unity.test-framework from version 1.1.29 to 1.1.31
com.unity.timeline from version 1.6.3 to 1.7.1
com.unity.visualscripting from version 1.7.6 to 1.7.8

=== Sat Jan 21 19:31:16 2023

Packages were changed.
Update Mode: updateDependencies

The following packages were added:
com.unity.ai.navigation@1.1.1
The following packages were updated:
com.unity.collab-proxy from version 1.17.1 to 1.17.7
com.unity.ide.rider from version 3.0.15 to 3.0.17
com.unity.ide.visualstudio from version 2.0.16 to 2.0.17
com.unity.test-framework from version 1.1.31 to 1.1.33
com.unity.visualscripting from version 1.7.8 to 1.8.0
66 changes: 33 additions & 33 deletions Logs/shadercompiler-UnityShaderCompiler0.log

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Logs/shadercompiler-UnityShaderCompiler1.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Base path: '/Applications/Unity/2022.1.9f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.1.9f1/Unity.app/Contents/PlaybackEngines'
Base path: '/Applications/Unity/2022.2.2f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.2.2f1/Unity.app/Contents/PlaybackEngines'
Cmd: initializeCompiler

Cmd: compileSnippet
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
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

4 changes: 2 additions & 2 deletions Logs/shadercompiler-UnityShaderCompiler2.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Base path: '/Applications/Unity/2022.1.9f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.1.9f1/Unity.app/Contents/PlaybackEngines'
Base path: '/Applications/Unity/2022.2.2f1/Unity.app/Contents', plugins path '/Applications/Unity/2022.2.2f1/Unity.app/Contents/PlaybackEngines'
Cmd: initializeCompiler

Cmd: compileSnippet
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
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

8 changes: 3 additions & 5 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"dependencies": {
"com.unity.collab-proxy": "1.17.1",
"com.unity.ide.rider": "3.0.15",
"com.unity.ide.visualstudio": "2.0.16",
"com.unity.collab-proxy": "1.17.7",
"com.unity.ide.visualstudio": "2.0.17",
"com.unity.ide.vscode": "1.2.5",
"com.unity.test-framework": "1.1.31",
"com.unity.textmeshpro": "3.0.6",
"com.unity.ugui": "1.0.0",
"com.unity.visualscripting": "1.7.8",
"com.unity.visualscripting": "1.8.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
Expand Down
34 changes: 7 additions & 27 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"com.unity.collab-proxy": {
"version": "1.17.1",
"version": "1.17.7",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -11,22 +11,13 @@
},
"com.unity.ext.nunit": {
"version": "1.0.6",
"depth": 1,
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.ide.rider": {
"version": "3.0.15",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.ext.nunit": "1.0.6"
},
"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.16",
"version": "2.0.17",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -49,7 +40,7 @@
"url": "https://packages.unity.com"
},
"com.unity.services.core": {
"version": "1.4.2",
"version": "1.7.0",
"depth": 1,
"source": "registry",
"dependencies": {
Expand All @@ -60,8 +51,8 @@
"url": "https://packages.unity.com"
},
"com.unity.test-framework": {
"version": "1.1.31",
"depth": 0,
"version": "1.1.33",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.ext.nunit": "1.0.6",
Expand Down Expand Up @@ -89,7 +80,7 @@
}
},
"com.unity.visualscripting": {
"version": "1.7.8",
"version": "1.8.0",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down Expand Up @@ -230,17 +221,6 @@
"version": "1.0.0",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.uielementsnative": "1.0.0"
}
},
"com.unity.modules.uielementsnative": {
"version": "1.0.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2022.1.9f1
m_EditorVersionWithRevision: 2022.1.9f1 (07e076b6d414)
m_EditorVersion: 2022.2.2f1
m_EditorVersionWithRevision: 2022.2.2f1 (c93c5d3acf5b)

0 comments on commit c616237

Please sign in to comment.