Beispiel #1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
        RayCast raycaster = (RayCast)target;

        if (GUILayout.Button("Create JSON"))
        {
            raycaster.createJSON();
        }
    }