Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
TextureTranslator
C# Class 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.
Inheritance:
MonoBehaviour
Afficher le fichier
Open project: Gamieon/PaperCowboys
Méthodes publiques
Свойство
Type
Description
velocity
Vector2
Méthodes publiques
Méthode
Description
Awake
( ) :
void
Update
( ) :
void
Method Details
Awake()
public
méthode
public
Awake
( ) :
void
Résultat
void
Update()
public
méthode
public
Update
( ) :
void
Résultat
void
Property Details
velocity
public_oe property
The velocity of which to translate the texture.
public
Vector2
velocity
Résultat
Vector2