C# Класс RedBlueGames.Tools.TextureShifter

Component that can be added to GameObjects with Renderers to let them offset the texture at runtime.
Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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