TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TpGoTweenSpec.GoTween Class Reference

Individual tween spec. More...

Collaboration diagram for TilePlus.TpGoTweenSpec.GoTween:

Public Member Functions

 GoTween ()
 Ctor.
 GoTween (GoTween other)
 Constructor that makes a copy.

Public Attributes

string m_TweenName
 The name of this tween spec.
TpTweener.GameObjTweenEaseTarget m_EaseTarget = TpTweener.GameObjTweenEaseTarget.Position
 The type of operation.
Vector3 m_EndScale = new(2, 2, 1)
 The end size for the GameObject when tweening scale.
Color m_EndColor = Color.white
 Ending color.
Vector3 m_EndRotation = Vector3.zero
 Ending rotation.
Vector3 m_EndPosition = Vector3.zero
 Ending position.
float m_Duration = 1f
 Duration of the tween or sequence.
TpEasingFunction.Ease m_EaseFunction = TpEasingFunction.Ease.Linear
 Easing type.
TpTweener.LoopType m_LoopType = TpTweener.LoopType.None
 Loop type.
int m_LoopCount = -1
 Loop count. -1 is infinite.
bool m_Initialized
 internal use only. It's not a mistake: used by property drawer. DONT DELETE

Detailed Description

Individual tween spec.

Constructor & Destructor Documentation

◆ GoTween() [1/2]

TilePlus.TpGoTweenSpec.GoTween.GoTween ( )

Ctor.

◆ GoTween() [2/2]

TilePlus.TpGoTweenSpec.GoTween.GoTween ( GoTween other)

Constructor that makes a copy.

Parameters
otherinstance to copy
Returns
new spec

m_Initialized is false.

Member Data Documentation

◆ m_Duration

float TilePlus.TpGoTweenSpec.GoTween.m_Duration = 1f

Duration of the tween or sequence.

This can be zero, which should be assumed is an error

◆ m_EaseFunction

TpEasingFunction.Ease TilePlus.TpGoTweenSpec.GoTween.m_EaseFunction = TpEasingFunction.Ease.Linear

Easing type.

◆ m_EaseTarget

TpTweener.GameObjTweenEaseTarget TilePlus.TpGoTweenSpec.GoTween.m_EaseTarget = TpTweener.GameObjTweenEaseTarget.Position

The type of operation.

◆ m_EndColor

Color TilePlus.TpGoTweenSpec.GoTween.m_EndColor = Color.white

Ending color.

◆ m_EndPosition

Vector3 TilePlus.TpGoTweenSpec.GoTween.m_EndPosition = Vector3.zero

Ending position.

◆ m_EndRotation

Vector3 TilePlus.TpGoTweenSpec.GoTween.m_EndRotation = Vector3.zero

Ending rotation.

◆ m_EndScale

Vector3 TilePlus.TpGoTweenSpec.GoTween.m_EndScale = new(2, 2, 1)

The end size for the GameObject when tweening scale.

◆ m_Initialized

bool TilePlus.TpGoTweenSpec.GoTween.m_Initialized

internal use only. It's not a mistake: used by property drawer. DONT DELETE

◆ m_LoopCount

int TilePlus.TpGoTweenSpec.GoTween.m_LoopCount = -1

Loop count. -1 is infinite.

◆ m_LoopType

TpTweener.LoopType TilePlus.TpGoTweenSpec.GoTween.m_LoopType = TpTweener.LoopType.None

Loop type.

◆ m_TweenName

string TilePlus.TpGoTweenSpec.GoTween.m_TweenName

The name of this tween spec.


The documentation for this class was generated from the following file:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/AssetScripts/Lists/TpGoTweenSpec.cs