C# 클래스 Prime31.GoKitLite.GoKitLite

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: prime31/GoKitLite 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
defaultEaseType EaseType

공개 메소드들

메소드 설명
colorFrom ( Transform trans, float duration, Color targetColor, string materialProperty = "_Color", bool isRelativeTween = false ) : Tween
colorTo ( Transform trans, float duration, Color targetColor, string materialProperty = "_Color", bool isRelativeTween = false ) : Tween
customAction ( Transform trans, float duration, float>.Action action ) : Tween
getActiveTween ( int id ) : Tween

find an active tween with given id, do not store a reference to the tween!

isTweenActive ( int id ) : bool

Checks if the current tween is active

localPositionFrom ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
localPositionTo ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
localRotationFrom ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
localRotationTo ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
positionFrom ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
positionTo ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
propertyTween ( ITweenable propertyTween, float duration ) : Tween
rectTransformPositionTo ( RectTransform trans, float duration, Vector3 targetScale, bool isRelativeTween = false ) : Tween
rotationFrom ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
rotationTo ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
scaleFrom ( Transform trans, float duration, Vector3 targetScale, bool isRelativeTween = false ) : Tween
scaleTo ( Transform trans, float duration, Vector3 targetScale, bool isRelativeTween = false ) : Tween
setAllTweenPauseState ( bool isPaused ) : void

set all in-progress tween's pause state.

setTweenPauseState ( int id, bool isPaused ) : bool

set the tween's pause state. returns true if the tween was found.

stopAllTweens ( bool bringToCompletion ) : void

Stops all in-progress tweens optionally bringing them to their final values.

stopTween ( int id, bool bringToCompletion ) : bool

stops the tween optionally bringing it to its final value first. returns true if the tween was found and stopped.

stopTweenForTransform ( Transform trans, bool bringToCompletion ) : bool

stops all the tweens for a specified transform optionally bringing it to its final value first. returns true if a tween was found and stopped.

비공개 메소드들

메소드 설명
OnApplicationQuit ( ) : void
Update ( ) : void
colorTweenTo ( Transform trans, float duration, Color targetColor, string materialProperty = "_Color", bool isRelativeTween = false ) : Tween
nextAvailableTween ( Transform trans, float duration, TweenType tweenType ) : Tween
removeTween ( Tween tween, int index ) : void
reverseTween ( int id ) : bool

reverses the tween. if it was going forward it will be going backwards and vice versa.

vectorTweenTo ( Transform trans, TweenType tweenType, float duration, Vector3 targetVector, bool isRelativeTween = false ) : Tween

메소드 상세

colorFrom() 공개 메소드

public colorFrom ( Transform trans, float duration, Color targetColor, string materialProperty = "_Color", bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetColor Color
materialProperty string
isRelativeTween bool
리턴 Tween

colorTo() 공개 메소드

public colorTo ( Transform trans, float duration, Color targetColor, string materialProperty = "_Color", bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetColor Color
materialProperty string
isRelativeTween bool
리턴 Tween

customAction() 공개 메소드

public customAction ( Transform trans, float duration, float>.Action action ) : Tween
trans UnityEngine.Transform
duration float
action float>.Action
리턴 Tween

getActiveTween() 공개 메소드

find an active tween with given id, do not store a reference to the tween!
public getActiveTween ( int id ) : Tween
id int
리턴 Tween

isTweenActive() 공개 메소드

Checks if the current tween is active
public isTweenActive ( int id ) : bool
id int
리턴 bool

localPositionFrom() 공개 메소드

public localPositionFrom ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetPosition Vector3
isRelativeTween bool
리턴 Tween

localPositionTo() 공개 메소드

public localPositionTo ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetPosition Vector3
isRelativeTween bool
리턴 Tween

localRotationFrom() 공개 메소드

public localRotationFrom ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetEulers Vector3
isRelativeTween bool
리턴 Tween

localRotationTo() 공개 메소드

public localRotationTo ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetEulers Vector3
isRelativeTween bool
리턴 Tween

positionFrom() 공개 메소드

public positionFrom ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetPosition Vector3
isRelativeTween bool
리턴 Tween

positionTo() 공개 메소드

public positionTo ( Transform trans, float duration, Vector3 targetPosition, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetPosition Vector3
isRelativeTween bool
리턴 Tween

propertyTween() 공개 메소드

public propertyTween ( ITweenable propertyTween, float duration ) : Tween
propertyTween ITweenable
duration float
리턴 Tween

rectTransformPositionTo() 공개 메소드

public rectTransformPositionTo ( RectTransform trans, float duration, Vector3 targetScale, bool isRelativeTween = false ) : Tween
trans UnityEngine.RectTransform
duration float
targetScale Vector3
isRelativeTween bool
리턴 Tween

rotationFrom() 공개 메소드

public rotationFrom ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetEulers Vector3
isRelativeTween bool
리턴 Tween

rotationTo() 공개 메소드

public rotationTo ( Transform trans, float duration, Vector3 targetEulers, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetEulers Vector3
isRelativeTween bool
리턴 Tween

scaleFrom() 공개 메소드

public scaleFrom ( Transform trans, float duration, Vector3 targetScale, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetScale Vector3
isRelativeTween bool
리턴 Tween

scaleTo() 공개 메소드

public scaleTo ( Transform trans, float duration, Vector3 targetScale, bool isRelativeTween = false ) : Tween
trans UnityEngine.Transform
duration float
targetScale Vector3
isRelativeTween bool
리턴 Tween

setAllTweenPauseState() 공개 메소드

set all in-progress tween's pause state.
public setAllTweenPauseState ( bool isPaused ) : void
isPaused bool
리턴 void

setTweenPauseState() 공개 메소드

set the tween's pause state. returns true if the tween was found.
public setTweenPauseState ( int id, bool isPaused ) : bool
id int
isPaused bool
리턴 bool

stopAllTweens() 공개 메소드

Stops all in-progress tweens optionally bringing them to their final values.
public stopAllTweens ( bool bringToCompletion ) : void
bringToCompletion bool If true, then all active tweens are broght to completion before they are stopped
리턴 void

stopTween() 공개 메소드

stops the tween optionally bringing it to its final value first. returns true if the tween was found and stopped.
public stopTween ( int id, bool bringToCompletion ) : bool
id int
bringToCompletion bool
리턴 bool

stopTweenForTransform() 공개 메소드

stops all the tweens for a specified transform optionally bringing it to its final value first. returns true if a tween was found and stopped.
public stopTweenForTransform ( Transform trans, bool bringToCompletion ) : bool
trans UnityEngine.Transform
bringToCompletion bool
리턴 bool

프로퍼티 상세

defaultEaseType 공개적으로 정적으로 프로퍼티

public static EaseType defaultEaseType
리턴 EaseType