UIBlock.TrySetLocalPosition
TrySetLocalPosition(Vector3)
Move this UIBlock to the given Transform localPosition
and update Position accordingly such that when the Nova Engine
recalculates the modified layout properties, the resulting
transform.localPosition will equal localPosition.
Remarks
Preserves Alignment and the current Position's LengthTypes.
Declaration
public bool TrySetLocalPosition(Vector3 localPosition)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | localPosition | The |
Returns
| Type | Description |
|---|---|
| bool | false if |
See Also
TrySetWorldPosition(UnityEngine.Vector3)