mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix(Discovery Template): wrapped OnValidate with #if UNITY_EDITOR
This commit is contained in:
parent
f0d288be1b
commit
5c7de2b6e0
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user