Antares Universe : SceneView addons API

Available in Universe since 1.17

This is a simple demo of new Universe SceneView Addon API
Even non-programmers now can create own action in Unity Editor with our easy and clear API (which contains only 4 variables and 6 methods in base class). This is fastest and handy way to extend your possibility in Unity Editor.

Don’t want to use our Universe as visual code editor? No problems. You can use it for free - for example just for creating a smart and convenient editor tools for your work and remove our Universe from project folder right before final build!
Take it for FREE now!

Antares Universe SceneView API contains just 4 variables and 6 methods, but you can use not all from it.
The detailed description will be published after Universe 1.17 release.

Here you can see a sample class from addon which can unparent all selected objects in one click.

public class AntaresAddonToUniverse_Unparrent : AddonWindow
    {
        public override void Awake()
        {
            //The tab name where your addon will appear
            addonTabName = "Transform";
            // addons button content
            buttonContent = new GUIContent("Unparent", "Unparent selected object");
            // button width
            buttonWidth = 80;
        }

        private Transform transform;
        // Called before drawing the addon button. Can be used for deacticate addon button for example
        public override void OnPreDrawAddonButton()
        {
            transform = Selection.activeTransform;
            GUI.enabled = transform  transform.parent;
        }
        
        // Called when addon button is pressed in Addons Inspector floating window
        public override void OnAddonButtonPressed()
        {
            if (Selection.transforms == null || Selection.transforms.Length == 0)
                return;
            Undo.RegisterSceneUndo(string.Format("Unparent {0} objects", Selection.transforms.Length));
            foreach (var tr in Selection.transforms)
            {
                tr.parent = null;
            }
            // Just show notification. Optional.
            ShowNotificationWithUniverseLogo("Unparented");
        }
    }

What can I say… This is going very far from what I’ve been specting.
Creating Editor tools never was so easy!

Ability to creation simple addons with only nodes in progress.
You will have a choice what way you want - visual node or ordinary code :wink:

woot

Very nice. Thanks.

Well, visual editor scripting are ready for your imagination and ideas!
All public and internal Unity Editor classes are easy accessible by our Wizards.

public class Unparrent_AntaresAddonToUniverse : AddonWindow
{
public override void Awake()
{
addonTabName = “Transform”;
buttonContent = new GUIContent(“Unparent”, “Unparent selected object”);
buttonWidth = 80;
}

private Transform transform;
public override void OnPreDrawAddonButton()
{
transform = Selection.activeTransform;
GUI.enabled = transform transform.parent;
}

public override void OnAddonButtonPressed()
{
if (Selection.transforms == null || Selection.transforms.Length == 0)
return;
Undo.RegisterSceneUndo(string.Format(“Unparent {0} objects”, Selection.transforms.Length));
transform.DetachChildren();
ShowNotificationWithUniverseLogo(“Unparented”);
}
}

Here is a screenshot of the full-visual plugin. This addon will rename all selected objects :

And looks like this in Unity :

Wow men! At first didnt got what this was for, I was doing a fast update of the showcase and did not got it…

Now, understood what you have in there sounds pretty interesting.

At this point something that really sucks from Unity to me is that it cant hide - show objets. Something I still cant understand in an app of this nature. Hope that with this app we can create all the little patches that this nice app needs.

What I see harder to be implemented is that a photoshop show-hide icon like appears in the project tree so that I could show-hide certain groups of objets… anyway. I’ll give a look to this during following weeks.

New one Visual addon - add the Box or Mesh Colliders to any selected objects. (will be available in 1.19)

New addon for GameObject group : “Batch it !”

This addon will batch (using StaticBatchingUtility) all childs of the selected object in Runtime. Very handy for level creating and testing.

And one more new addon in this group : “Find by tag”

This addon finds all objects with specified tag and select it in Hierarchy.

Both addons are created fully in the Universe visual editor. No one line of code.
(Will be available in Universe 1.19)

very useful, and nice scene btw.

definitely useful, thank you for adding these features

New addon (will be available in Universe 1.19) : Select objects in Layer
This addon provide ability to select all objects in the scene with the specified layer

Created fully in Universe visual editor. No one line of code.

This is the visual code of the new addone (Select in Layer) - just few nodes

wow, I actually followed that graph, using universe must be paying off!

New video added in the first post.