mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: NetworkLoop compiler definition wrong version
This commit is contained in:
parent
c39a35077e
commit
c7c43da3ad
@ -26,7 +26,11 @@
|
|||||||
// to the beginning of PostLateUpdate doesn't actually work.
|
// to the beginning of PostLateUpdate doesn't actually work.
|
||||||
using System;
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
#if UNITY_2019_1_OR_NEWER
|
|
||||||
|
// PlayerLoop and LowLevel were in the Experimental namespace until 2019.3
|
||||||
|
// https://docs.unity3d.com/2019.2/Documentation/ScriptReference/Experimental.LowLevel.PlayerLoop.html
|
||||||
|
// https://docs.unity3d.com/2019.3/Documentation/ScriptReference/LowLevel.PlayerLoop.html
|
||||||
|
#if UNITY_2019_3_OR_NEWER
|
||||||
using UnityEngine.LowLevel;
|
using UnityEngine.LowLevel;
|
||||||
using UnityEngine.PlayerLoop;
|
using UnityEngine.PlayerLoop;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user