SpringPosition
SpringPosition Class Reference
SpringPosition类引用
Spring-like motion -- the farther away the object is from the target, the stronger the pull.More...
弹性运动——越远,对象是来自目标的引力越大。更多…
Inheritance diagram for SpringPosition:
继承关系图SpringPosition:
Static Public Member Functions静态公共成员函数 | |
| static SpringPosition | Begin (GameObject go, Vector3 pos, float strength) |
| Start the tweening process. 启动渐变过程。 | |
Public Attributes公共属性 | |
| Vector3 | target = Vector3.zero |
| float | strength = 10f |
| bool | worldSpace = false |
| bool | ignoreTimeScale = false |
Detailed Description详细描述
Spring-like motion -- the farther away the object is from the target, the stronger the pull.
弹性运动——越远,对象是来自目标的引力越大。
Member Function Documentation成员函数文档
| static SpringPosition SpringPosition.Begin | ( | GameObject | go, |
| Vector3 | pos, | ||
| float | strength | ||
| ) | [static] |
Start the tweening process. 启动渐变过程。
The documentation for this class was generated from the following file:
这个类的文档生成从以下文件:
- Assets/NGUI/Scripts/Tweening/SpringPosition.cs
本文介绍SpringPosition类,一种实现弹性运动效果的工具,在Unity中用于创建越远离目标则引力越强的效果。文章详细解释了如何使用静态公共成员函数开始渐变过程,并介绍了关键属性如target、strength等。
4173

被折叠的 条评论
为什么被折叠?



