From a0d2d310581de1e549f983510060583df1f160ce Mon Sep 17 00:00:00 2001 From: Keijiro Takahashi Date: Fri, 14 Dec 2018 18:48:55 +0900 Subject: [PATCH] Update test scripts to avoid warning on 2018.3 --- Assets/Test/Randomizer.cs | 2 +- Assets/Test/SourceSelector.cs | 2 +- Assets/Test/TestCards/Runtime/TestOverlay.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Test/Randomizer.cs b/Assets/Test/Randomizer.cs index 7d23326..db867ea 100644 --- a/Assets/Test/Randomizer.cs +++ b/Assets/Test/Randomizer.cs @@ -4,7 +4,7 @@ public class Randomizer : MonoBehaviour { - [SerializeField] GameObject[] _objects; + [SerializeField] GameObject[] _objects = null; IEnumerator Start() { diff --git a/Assets/Test/SourceSelector.cs b/Assets/Test/SourceSelector.cs index 07728f9..199b7a2 100644 --- a/Assets/Test/SourceSelector.cs +++ b/Assets/Test/SourceSelector.cs @@ -8,7 +8,7 @@ public class SourceSelector : MonoBehaviour { - [SerializeField] Dropdown _dropdown; + [SerializeField] Dropdown _dropdown = null; SpoutReceiver _receiver; diff --git a/Assets/Test/TestCards/Runtime/TestOverlay.cs b/Assets/Test/TestCards/Runtime/TestOverlay.cs index 5f46418..4448bce 100644 --- a/Assets/Test/TestCards/Runtime/TestOverlay.cs +++ b/Assets/Test/TestCards/Runtime/TestOverlay.cs @@ -35,7 +35,7 @@ public int scale { #region Private members - [SerializeField, HideInInspector] Shader _shader; + [SerializeField, HideInInspector] Shader _shader = null; Material _material; #endregion