fix(Discovery Template): wrapped OnValidate with #if UNITY_EDITOR

This commit is contained in:
MrGadget1024 2023-03-21 06:55:32 -04:00
parent f0d288be1b
commit 5c7de2b6e0

View File

@ -23,10 +23,12 @@ public class #SCRIPTNAME# : NetworkDiscoveryBase<DiscoveryRequest, DiscoveryResp
{
#region Unity Callbacks
#if UNITY_EDITOR
public override void OnValidate()
{
base.OnValidate();
}
#endif
public override void Start()
{