Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feature Request-move UI elements in SceneView
#1
Hi, I have several scene view elements, like uContextPro.

When Curvy draws the UI, it frequently is in undesirable locations. I'd like some changes added to the project to remedy this issue. From my very limited testing, something like this could work.

In DTToolbar > getInitialItemRect()
the switch statement
Left
r.x = 5 + xValue; r.y = 10 + yValue;

Right
SceneView.position.width - 10 - _MaxItemDimension[side].x - xValue;
r.y = 15 + yValue;

Top
r.x = 10 + xValue; r.y = 10 + yValue;

Bottom
r.x = 10 + xValue; r.y = SceneView.position.height - _MaxItemDimension[side].y - 30 - yValue;

Add the named xValue & yValue to CurvyGlobalManager and CurvyProject.cs to set them in Preferences.
Even simple [Range(0,75)] sliders with a default value of 0 would work great here.
Reply
#2
Hi
Thanks for the provided solution. But I need to first understand the issue better. Can you please post screenshots of the conflicting UIs? Just in case you missed it, did you try with a small toolbar, I mean by that by setting "Toolbar Labels" parameter to "Icon"
Thanks again
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
https://drive.google.com/drive/folders/1DpeZB3LsodDpa8IXyUDdEzpQCJXRtNSU?usp=sharing

Hope this helps.
Reply
#4
Yes it does, thanks a lot. I am intending to, in the not far future, rework the scene view's toolbar. I will take the issue you raised into consideration when implementing a better solution. Thanks again for your time trying to improve Curvy Splines
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#5
I would love to see it using ToolbarOverlay, it's the new way that buttons are shown in the scene view starting in 2021.2 and above, lots of detail in this forum post.
Reply
#6
Hi
Feature request noted, thanks.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can you move generated objects along spline? FernDigestive 1 8 04-02-2023, 12:14 PM
Last Post: _Aka_
  GameObjects that move along the path of Curvy Splines will protrude. yanke 5 415 10-26-2021, 09:59 AM
Last Post: _Aka_
  Tutorial Request mythstified 7 9,284 10-11-2020, 07:17 PM
Last Post: _Aka_
  Move with constant velocity in Relative mode athos_k 3 1,920 07-21-2020, 11:39 AM
Last Post: _Aka_

Forum Jump: