mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
chore: Added LagCompensatorInspector (#3796)
This commit is contained in:
parent
e36f5c97ad
commit
4d8d0df168
14
Assets/Mirror/Editor/LagCompensatorInspector.cs
Normal file
14
Assets/Mirror/Editor/LagCompensatorInspector.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
using UnityEditor;
|
||||||
|
|
||||||
|
namespace Mirror
|
||||||
|
{
|
||||||
|
[CustomEditor(typeof(LagCompensator))]
|
||||||
|
public class LagCompensatorInspector : Editor
|
||||||
|
{
|
||||||
|
public override void OnInspectorGUI()
|
||||||
|
{
|
||||||
|
EditorGUILayout.HelpBox("Preview Component - Feedback appreciated on GitHub or Discord!", MessageType.Warning);
|
||||||
|
DrawDefaultInspector();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
11
Assets/Mirror/Editor/LagCompensatorInspector.cs.meta
Normal file
11
Assets/Mirror/Editor/LagCompensatorInspector.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 703e39b5385ae2e479987ff4ec0707a1
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -3,6 +3,7 @@
|
|||||||
"rootNamespace": "",
|
"rootNamespace": "",
|
||||||
"references": [
|
"references": [
|
||||||
"GUID:30817c1a0e6d646d99c048fc403f5979",
|
"GUID:30817c1a0e6d646d99c048fc403f5979",
|
||||||
|
"GUID:72872094b21c16e48b631b2224833d49",
|
||||||
"GUID:1d0b9d21c3ff546a4aa32399dfd33474"
|
"GUID:1d0b9d21c3ff546a4aa32399dfd33474"
|
||||||
],
|
],
|
||||||
"includePlatforms": [
|
"includePlatforms": [
|
||||||
|
Loading…
Reference in New Issue
Block a user