Click or drag to resize

UIUtils8GetWorldVectorBetweenCustomLocalPivots Method

Format of pivots: Vertically (y), 0=bottom, 1=top; Horizontally (x), 0=left, 1=right

Namespace:  frame8.Logic.Misc.Other
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public Vector2 GetWorldVectorBetweenCustomLocalPivots(
	RectTransform firstRT,
	Vector2 customPivotOnFirstRect01,
	RectTransform secondRT,
	Vector2 customPivotOnSecondRect01,
	Canvas canvas,
	RectTransform canvasRectTransform
)

Parameters

firstRT
Type: RectTransform
customPivotOnFirstRect01
Type: Vector2
secondRT
Type: RectTransform
customPivotOnSecondRect01
Type: Vector2
canvas
Type: Canvas
canvasRectTransform
Type: RectTransform

Return Value

Type: Vector2
Version Information

Optimized ScrollView Adapter

Supported in: 4.0, 3.0
See Also