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
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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