Some useful extensions to transforms
More...
|
static IEnumerable< Transform > | GetChildren (this Transform self) |
| Enumerate thru all the children More...
|
|
static Transform | Closest (this Transform self, Transform a, Transform b) |
| Get the closest transform from self More...
|
|
static void | Reset (this Transform self) |
| Resets the transform to the local identity More...
|
|
Some useful extensions to transforms
◆ Closest()
static Transform JUtils.TransformExtensions.Closest |
( |
this Transform |
self, |
|
|
Transform |
a, |
|
|
Transform |
b |
|
) |
| |
|
inlinestatic |
Get the closest transform from self
- Parameters
-
a | The first target to check |
b | The second target to check |
- Returns
- The closest transform
◆ GetChildren()
static IEnumerable<Transform> JUtils.TransformExtensions.GetChildren |
( |
this Transform |
self | ) |
|
|
inlinestatic |
Enumerate thru all the children
◆ Reset()
static void JUtils.TransformExtensions.Reset |
( |
this Transform |
self | ) |
|
|
inlinestatic |
Resets the transform to the local identity
- Parameters
-
The documentation for this class was generated from the following file: