mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
d83ce37760
commit
d8187d4b7d
@ -9,20 +9,15 @@ namespace Mirror
|
||||
public class NetworkManagerEditor : Editor
|
||||
{
|
||||
SerializedProperty spawnListProperty;
|
||||
|
||||
ReorderableList spawnList;
|
||||
|
||||
protected NetworkManager networkManager;
|
||||
|
||||
protected void Init()
|
||||
{
|
||||
if (spawnList == null)
|
||||
{
|
||||
|
||||
networkManager = target as NetworkManager;
|
||||
|
||||
spawnListProperty = serializedObject.FindProperty("spawnPrefabs");
|
||||
|
||||
spawnList = new ReorderableList(serializedObject, spawnListProperty)
|
||||
{
|
||||
drawHeaderCallback = DrawHeader,
|
||||
|
Loading…
Reference in New Issue
Block a user