summaryrefslogtreecommitdiff
path: root/VRCSDK3AvatarsQuestLegacy/Assets/VRCSDK/Dependencies/VRChat/Editor/Components/VRCObjectSpawnEditor.cs
blob: ab194e3b2ecc840fe255bbe42fa299247a4fe268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#if VRC_SDK_VRCSDK2
using UnityEngine;
using System.Collections;
using UnityEditor;
using System;

[CustomEditor(typeof(VRCSDK2.VRC_ObjectSpawn))]
public class VRCObjectSpawnEditor : Editor
{
    VRCSDK2.VRC_ObjectSpawn spawn;

    void OnEnable()
    {
        if (spawn == null)
            spawn = (VRCSDK2.VRC_ObjectSpawn)target;
    }

    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
    }
}
#endif