Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Updated to Unity 2019.3.7 and fixed deprecations and other warnings. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ ehthumbs.db
[Tt]humbs.db
desktop.ini
*.suo
CSharp60Support/compilation log.tx
CSharp60Support/compilation log.tx
.idea/.idea.Unity3D-ScriptCommentsOnInspector/

Logs/
8 changes: 4 additions & 4 deletions Assets/Script comments on inspector/Demo/GameController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ public class GameController : MonoBehaviour
/// <summary>
/// Variable with default value
/// </summary>
[SerializeField] string variableWithDefaultValue = "defaultValue";
// [SerializeField] string variableWithDefaultValue = "defaultValue";

// quack
// audhawwu
// audhawwu
[SerializeField] string notXml;

// audhawwu
// audhawwu

// pudim
// Joaquina
[SerializeField] string notXmlWithDefaultValue = "pudim";
// [SerializeField] string notXmlWithDefaultValue = "pudim";
}
Binary file modified Assets/Script comments on inspector/Demo/Main.unity
Binary file not shown.
21 changes: 16 additions & 5 deletions Assets/Script comments on inspector/Editor/Preferences.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;

namespace Quack
{
public static class Preferences
public class Preferences : SettingsProvider
{
const string xmlKey = "comments: use-xml";
const string doubleSlashKey = "comments: use-//";
Expand All @@ -29,9 +29,10 @@ public static string fieldPrefix
}


[PreferenceItem("Comments")]
public static void PreferencesGUI()
[SettingsProvider]
public override void OnGUI(string searchContext)
{
base.OnGUI(searchContext);
fieldPrefix = EditorGUILayout.DelayedTextField("Field prefix", fieldPrefix);
EditorGUILayout.Space();

Expand All @@ -41,5 +42,15 @@ public static void PreferencesGUI()
useDoubleSlash = GUILayout.Toggle(useDoubleSlash, "//");
EditorGUILayout.EndHorizontal();
}

[SettingsProvider]
static SettingsProvider MyNewPrefCode()
{
return new Preferences("Preferences/Comments");
}

public Preferences(string path, SettingsScope scopes = SettingsScope.User, IEnumerable<string> keywords = null) : base(path, scopes, keywords)
{
}
}
}
}
42 changes: 42 additions & 0 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"dependencies": {
"com.unity.collab-proxy": "1.2.16",
"com.unity.ide.rider": "1.1.4",
"com.unity.ide.vscode": "1.1.4",
"com.unity.test-framework": "1.1.11",
"com.unity.textmeshpro": "2.0.1",
"com.unity.timeline": "1.2.13",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.cloth": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.screencapture": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.terrainphysics": "1.0.0",
"com.unity.modules.tilemap": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.umbra": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
"com.unity.modules.unitywebrequestaudio": "1.0.0",
"com.unity.modules.unitywebrequesttexture": "1.0.0",
"com.unity.modules.unitywebrequestwww": "1.0.0",
"com.unity.modules.vehicles": "1.0.0",
"com.unity.modules.video": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"
}
}
Binary file modified ProjectSettings/AudioManager.asset
Binary file not shown.
Binary file modified ProjectSettings/ClusterInputManager.asset
Binary file not shown.
Binary file modified ProjectSettings/DynamicsManager.asset
Binary file not shown.
Binary file modified ProjectSettings/EditorBuildSettings.asset
Binary file not shown.
Binary file modified ProjectSettings/EditorSettings.asset
Binary file not shown.
Binary file modified ProjectSettings/GraphicsSettings.asset
Binary file not shown.
Binary file modified ProjectSettings/InputManager.asset
Binary file not shown.
Binary file modified ProjectSettings/NavMeshAreas.asset
Binary file not shown.
Binary file modified ProjectSettings/Physics2DSettings.asset
Binary file not shown.
7 changes: 7 additions & 0 deletions ProjectSettings/PresetManager.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1386491679 &1
PresetManager:
m_ObjectHideFlags: 0
serializedVersion: 2
m_DefaultPresets: {}
Binary file modified ProjectSettings/ProjectSettings.asset
Binary file not shown.
3 changes: 2 additions & 1 deletion ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
m_EditorVersion: 5.5.0f3
m_EditorVersion: 2019.3.7f1
m_EditorVersionWithRevision: 2019.3.7f1 (6437fd74d35d)
Binary file modified ProjectSettings/QualitySettings.asset
Binary file not shown.
Binary file modified ProjectSettings/TagManager.asset
Binary file not shown.
Binary file modified ProjectSettings/TimeManager.asset
Binary file not shown.
Binary file removed ProjectSettings/UnityAdsSettings.asset
Binary file not shown.
Binary file modified ProjectSettings/UnityConnectSettings.asset
Binary file not shown.
12 changes: 12 additions & 0 deletions ProjectSettings/VFXManager.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!937362698 &1
VFXManager:
m_ObjectHideFlags: 0
m_IndirectShader: {fileID: 0}
m_CopyBufferShader: {fileID: 0}
m_SortShader: {fileID: 0}
m_StripUpdateShader: {fileID: 0}
m_RenderPipeSettingsPath:
m_FixedTimeStep: 0.016666668
m_MaxDeltaTime: 0.05
10 changes: 10 additions & 0 deletions ProjectSettings/XRSettings.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"m_SettingKeys": [
"VR Device Disabled",
"VR Device User Alert"
],
"m_SettingValues": [
"False",
"False"
]
}