Class SUScreenAnimationData
Data to setup a Screen-related animation by the inspector
Inherited Members
Namespace: Surfer
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public abstract class SUScreenAnimationData : SUAnimationData
Fields
_parentRect
Declaration
protected RectTransform _parentRect
Field Value
Type | Description |
---|---|
RectTransform |
_rectCp
Declaration
protected RectTransform _rectCp
Field Value
Type | Description |
---|---|
RectTransform |
Methods
GetFromPosition()
Get position "from" animation value based on StartMode
Declaration
protected Vector2 GetFromPosition()
Returns
Type | Description |
---|---|
Vector2 | position value |
GetToAnchoredPosition()
Get anchored position "to" animation value based on EndMode
Declaration
protected Vector2 GetToAnchoredPosition()
Returns
Type | Description |
---|---|
Vector2 | position value |
GetToPosition()
Get position "to" animation value based on EndMode
Declaration
protected Vector2 GetToPosition()
Returns
Type | Description |
---|---|
Vector2 | position value |
OnCache(GameObject)
Declaration
protected override void OnCache(GameObject go)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go |