C# 클래스 RedBlueGames.Tools.TextureShifter

Component that can be added to GameObjects with Renderers to let them offset the texture at runtime.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: redbluegames/rb-unity-tools 1 사용 예제들

공개 메소드들

메소드 설명
ShiftTexture ( Vector2 offsetToApply ) : void

Shift the texture by the supplied offset

비공개 메소드들

메소드 설명
Awake ( ) : void
LateUpdate ( ) : void

Ensure this is called last after any other scripts calling ShiftTexture

메소드 상세

ShiftTexture() 공개 메소드

Shift the texture by the supplied offset
public ShiftTexture ( Vector2 offsetToApply ) : void
offsetToApply UnityEngine.Vector2 Offset to apply.
리턴 void