跳至主要内容
Unity logo
取消
隐私设置
购物车
应用
Sell Assets

11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

显示 1 - 10 of 36
用户评论
排序
M
SphereCap error fix
3 years ago
MrunangGameBee基于版本1.1
The error message "error CS0117: 'Handles' does not contain a definition for 'SphereCap'" occurs because the 'SphereCap' function is not available in the current version of Unity. It has been deprecated since Unity 2019.3 and replaced by 'SphereHandleCap'. Therefore, to fix the error, replace 'SphereCap' with 'SphereHandleCap' on line 47 and 55 of the 'BezierPointEditor.cs' script. the same goes to CircleCap,CubeCap and RectangleCap.
这条评论是否有帮助?
7
0
X
2021.2+ Handles.xxxCap Error !
4 years ago
XiaoDianna基于版本1.1
You need to change [ Handles.xxxCap --> Handles.xxxHandleCap ]
这条评论是否有帮助?
16
0
E
Just what I needed!!
5 years ago
ElectricWolf基于版本1.1
Amazing saved my days of work - this just works as I need. Thanks for sharing.
这条评论是否有帮助?
0
0
_
Simply does what it says, until it doesn't.
5 years ago
_geo__基于版本1.1
All I wanted was a simple quick "create a bezier curve which I can edit" script. This does exactly that. I had to "fix" some deprecation warnings in Unity 2019.4 LTS but then it did what it should. It contains at least one bug in GetPointAt() for curves with only 2 points and small segmentation. Fix it by adding this to it: public Vector3 GetPointAt(float t) { if (points.Length == 2) { return GetPoint(points[0], points[1], t); } ... If you want to segmentize the curve then this may come in handy: public List<Vector3> GetSegmentPoints(float size = 0.1f, int resolution = 100) { List<Vector3> segmentPoints = new List<Vector3>(); float sqrSize = size * size; Vector3 current = points[0].position; Vector3 candidate0 = points[0].position; Vector3 candidate1; segmentPoints.Add(current); for (int i = 1; i <= resolution; i++) { candidate1 = GetPointAt(i / (float)resolution); if (Vector3.SqrMagnitude(candidate1-current) >= sqrSize) { current = candidate0; segmentPoints.Add(current); } candidate0 = candidate1; } float missing = Vector3.Magnitude(candidate0 - current) / size; if(missing < 0.5f) { // stretch segmentPoints[segmentPoints.Count - 1] = points[points.Length - 1].position; } else { // add final segment segmentPoints.Add(points[points.Length - 1].position); } return segmentPoints; }
这条评论是否有帮助?
4
0
y
Just enough, elegant, easy to use and educational. excellent.
5 years ago
ytagawa基于版本1.1
T/O
这条评论是否有帮助?
0
0
T
Just like PhotoShop!
5 years ago
Threeyes基于版本1.1
Easy to use if you have experience of PS, works great!
这条评论是否有帮助?
0
0
N
Nice and simple asset for bezier curves
6 years ago
Numix-Jeff基于版本1.1
Very nice to use and implement for our custom needs. An update for latest versions of Unity would be appreciated as there are depreciated codes in unity 2019 concerning undos and gizmos. I hope you will do it :)
这条评论是否有帮助?
2
0
G
Works fine... Sometimes
6 years ago
GodlikeAurora基于版本1.1
Timesaver tool, and it is free, but there no documentation about coding part (maybe code comments can be used as it, but it waste of time, which should be saved by using this asset), and a lot of strange null reference exceptions in basic usage of this tool (in GetPoint method, for example), so I can't recommend to use it in your project, maybe better be to use alternative free tool.
这条评论是否有帮助?
0
0
t
Does not work with latest Unity but I have a fix for that, where can I issue a pull request?
6 years ago
trancesilken基于版本1.1
Really, guys, make this public, on GitHub, so that I can provide you with a pull request to make it work with 2019.2+.
这条评论是否有帮助?
5
0
B
Thanks & question
7 years ago
BomjRU基于版本1.1
Thank you for easy to use and freebie code. And thanks to Jmurphy_cr for issue fix. Question: Why resolution doesnt affect path smoothing? GetPoinAt returns only smoothed path points
这条评论是否有帮助?
0
0
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo

语言

反馈

合作伙伴计划

合作伙伴
Copyright © 2026 Unity Technologies
所有价格不包含税