fix: editor now uses custom inspectors for networkbehaviours
This commit is contained in:
6
Assets/Scripts/Core/Editor/OdinNetworkEditorBehaviour.cs
Normal file
6
Assets/Scripts/Core/Editor/OdinNetworkEditorBehaviour.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
using Sirenix.OdinInspector.Editor;
|
||||||
|
using Unity.Netcode;
|
||||||
|
using UnityEditor;
|
||||||
|
|
||||||
|
[CustomEditor(typeof(NetworkBehaviour), true)]
|
||||||
|
public class OdinNetworkBehaviourEditor : OdinEditor{}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c7aea7e983220b44ebb6af6e4cd9f46d
|
||||||
Reference in New Issue
Block a user