C# 클래스 TextureTranslator, PaperCowboys

This component will make the attached renderer's material's texture transform translate over time. In this project, it is used to make the train tracks move quickly to give the illusion the players are riding fast.
상속: MonoBehaviour
파일 보기 프로젝트 열기: Gamieon/PaperCowboys

공개 프로퍼티들

프로퍼티 타입 설명
velocity Vector2

공개 메소드들

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

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

velocity 공개적으로 프로퍼티

The velocity of which to translate the texture.
public Vector2 velocity
리턴 Vector2