Transform¶
More information can be found in the Unity API Reference
Members¶
Member |
Description |
---|---|
Returns this transform as a rect transform. If unavailable, returns nil. |
|
Methods¶
Method |
Description |
---|---|
Details¶
-
class
Transform
¶ -
const RectTransform
asRectTransform
¶ Returns this transform as a rect transform. If unavailable, returns nil.
-
const int
childCount
¶
-
const GameObject
gameObject
¶
-
bool
hasChanged
¶
-
int
hierarchyCapacity
¶
-
const int
hierarchyCount
¶
-
Quaternion
localRotation
¶
-
string
name
¶
-
Quaternion
rotation
¶
-
string
tag
¶
-
bool
CompareTag
(string tag)¶
-
void
DetachChildren
()¶
-
int
GetHashCode
()¶
-
int
GetSiblingIndex
()¶
-
void
Rotate
(float xAngle, float yAngle, float zAngle)¶
-
void
SetAsFirstSibling
()¶
-
void
SetAsLastSibling
()¶
-
void
SetPositionAndRotation
(Vector3 position, Quaternion rotation)¶
-
void
SetSiblingIndex
(int index)¶
-
string
ToString
()¶
-
void
Translate
(float x, float y, float z)¶
-
const RectTransform