Esempio n. 1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
        HighSpeedPostProcessing ed = (HighSpeedPostProcessing)target;

        ed.UpdateComponents();
    }
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
        HighSpeedPostProcessing ed = (HighSpeedPostProcessing)target;

        if (EditorWindow.HasOpenInstances <SceneView>())
        {
            ed.SceneCamera = ed.GetCamera();

            ed.UpdateComponents();
        }
    }