From 5c7de2b6e0f86c2493f3251647c62d10a682028c Mon Sep 17 00:00:00 2001 From: MrGadget1024 <9826063+MrGadget1024@users.noreply.github.com> Date: Tue, 21 Mar 2023 06:55:32 -0400 Subject: [PATCH] fix(Discovery Template): wrapped OnValidate with `#if UNITY_EDITOR` --- .../56-Mirror__Network Discovery-NewNetworkDiscovery.cs.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/ScriptTemplates/56-Mirror__Network Discovery-NewNetworkDiscovery.cs.txt b/Assets/ScriptTemplates/56-Mirror__Network Discovery-NewNetworkDiscovery.cs.txt index 773ca0cc9..fded0cfec 100644 --- a/Assets/ScriptTemplates/56-Mirror__Network Discovery-NewNetworkDiscovery.cs.txt +++ b/Assets/ScriptTemplates/56-Mirror__Network Discovery-NewNetworkDiscovery.cs.txt @@ -23,10 +23,12 @@ public class #SCRIPTNAME# : NetworkDiscoveryBase