• Hi Guest!

    Please be aware that we have released another critical security patch for VaM. We strongly recommend updating to version 1.22.0.12 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
DetachedUIPanel

Plugins + Scripts DetachedUIPanel

PluginIdea

Well-known member
Featured Contributor
Messages
397
Reactions
3,261
Points
93
Website
www.patreon.com
PluginIdea submitted a new resource:

DetachedUIPanel - Easily and quickly peel off the UI of atoms

This plugin helps you separate the UI of atoms to the scene.Maybe you think it is impossible, but it has been realized by me.
If you are often troubled by VAM's frequent switching between UIS. Then I strongly recommend that you try this plug-in.

What can this plug-in do:
This plugin helps you separate the UI of atoms to the scene with one click, and still maintain exactly the same interactivity.
The separated UI can be modified at will.
The result of separation can be saved in the scene...

Read more about this resource...
 
This looks very useful. Thanks for sharing it!

One quick question, though; What does "Recover UI" do exactly? I've only watched the video so far, but it seems like it's just clearing a bit of the settings in this plugin. Is it doing more than effectively just setting a few choices back to None?
 
This looks very useful. Thanks for sharing it!

One quick question, though; What does "Recover UI" do exactly? I've only watched the video so far, but it seems like it's just clearing a bit of the settings in this plugin. Is it doing more than effectively just setting a few choices back to None?
The principle of plug-ins is essentially to separate the original UI.So restore means: restore the separated UI.
 
Hi! Great idea and great plugin. (Name checks out.) I've been wanting this for a long time but never got around to doing it myself, now I'm glad I won't have to!

Would it be possible to add support for session plugin UI's?

Issue report: When selecting atom CoreControl, it just opens the CoreControl atom and doesn't navigate back into the DetachedUIPanel plugin UI. In the output log file, there is an error
Code:
NullReferenceException: Object reference not set to an instance of an object
  at PluginIdea.DetachedUIPanel.DetachedUIPanel+<UpdateItemChooserList>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0
  at PluginIdea.DetachedUIPanel.Utils+<WaitForUI>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0

Also a suggestion - could increase the Select Atom and Items popup panel heights to see more options at a time:
C#:
static void ConfigurePopup(UIDynamicPopup uiDynamic, float height, bool upwards = false)
{
    if(height > 0f)
    {
        uiDynamic.popupPanelHeight = height;
    }

    float offsetY = upwards ? height + 60f : 0f;
    uiDynamic.popup.popupPanel.offsetMin += new Vector2(offsetX, offsetY);
    uiDynamic.popup.popupPanel.offsetMax += new Vector2(offsetX, offsetY);
}

If you could also suppress debug logs ("UIPlaceHolder" etc) from the output log file, that'd be ?. But that's just for me, I like to have the output log as clear as possible when developing my own stuff.

Cheers
 
Hi! Great idea and great plugin. (Name checks out.) I've been wanting this for a long time but never got around to doing it myself, now I'm glad I won't have to! Would it be possible to add support for session plugin UI's? Issue report: When selecting atom CoreControl, it just opens the CoreControl atom and doesn't navigate back into the DetachedUIPanel plugin UI. In the output log file, there is an error
Code:
NullReferenceException: Object reference not set to an instance of an object at PluginIdea.DetachedUIPanel.DetachedUIPanel+c__AnonStorey1.<>m__0 () [0x00000] in :0 at PluginIdea.DetachedUIPanel.Utils+c__Iterator1.MoveNext () [0x00000] in :0 at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in :0
Also a suggestion - could increase the Select Atom and Items popup panel heights to see more options at a time:
C#:
static void ConfigurePopup(UIDynamicPopup uiDynamic, float height, bool upwards = false) { if(height > 0f) { uiDynamic.popupPanelHeight = height; } float offsetY = upwards ? height + 60f : 0f; uiDynamic.popup.popupPanel.offsetMin += new Vector2(offsetX, offsetY); uiDynamic.popup.popupPanel.offsetMax += new Vector2(offsetX, offsetY); }
If you could also suppress debug logs ("UIPlaceHolder" etc) from the output log file, that'd be ?. But that's just for me, I like to have the output log as clear as possible when developing my own stuff. Cheers
Thank you for your advice.I will try to fix and add.
 
Is there a way to parent this to the camera so that it is static on the screen, and keeps the same position onscreen even when zooming etc?
 
PluginIdea updated DetachedUIPanel with a new update entry:

New features and function optimization

Note: Starting from this version, only game version 1.22.07 or later is supported.

1. You can now choose whether to display the title and set its size.
View attachment 448344
2. Some unsupported atoms were eliminated.
3. After changing the type, and receiving the target atom, the options of items will be cleared. This will make the operation logic clearer.

Read the rest of this update entry...
 
Two feature requests:

1. Toggle the always-on-top to allow objects to appear in front of a panel, and also add optional transparency.

2. Add a grab handle to easily move the panel around.
 
Any idea why I get this error? Thanks!

!> Compile of PluginIdea.DetachedUIPanel.3:/Custom/Scripts/PluginIdea/DetachedUIPanel/DetachedUIPanel.cslist failed. Errors:
!> [CS117]: `SuperController' does not contain a definition for `OpenURL' in <Unknown> at [1, 255]
 
So you only do this for a single UI component per scene? I have two panels, and when I go to load the scene they are blank and I have to manually reset everything.
 
Hi, I get an error,

"[CS117 ]: 'supercontroller' does not contain a definition for 'open url' in <unknown> at [1,255]

I've added the simple sign and added the 'detacheduipanel.cslist' to the simple sign, it's red and with the error. Help to correct this would be greatly appreciated
 
Any idea why I get this error? Thanks!

!> Compile of PluginIdea.DetachedUIPanel.3:/Custom/Scripts/PluginIdea/DetachedUIPanel/DetachedUIPanel.cslist failed. Errors:
!> [CS117]: `SuperController' does not contain a definition for `OpenURL' in <Unknown> at [1, 255]
Hi, I'm getting the same error, were you able to resolve this?
 
problem is in the Patreon-button, removing the highlighted section makes it work:

detachedpanelfix.png
 
Back
Top Bottom