C# Класс UnityPlatformer.CharacterActionUseItem

TODO We need some kind of debounce / Use delay
Наследование: CharacterAction
Показать файл Открыть проект

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

Свойство Тип Описание
actionUse string
characterOffset Vector3

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

Метод Описание
GetPostUpdateActions ( ) : PostUpdateActions

REVIEW do default actions. but maybe should do nothing...

PerformAction ( float delta ) : void

Use the item, all logic is in the Item.Use

WantsToUpdate ( float delta ) : int

On(Areas.Item) and item is usable by me and hit 'Use' action!

Описание методов

GetPostUpdateActions() публичный Метод

REVIEW do default actions. but maybe should do nothing...
public GetPostUpdateActions ( ) : PostUpdateActions
Результат PostUpdateActions

PerformAction() публичный Метод

Use the item, all logic is in the Item.Use
public PerformAction ( float delta ) : void
delta float
Результат void

WantsToUpdate() публичный Метод

On(Areas.Item) and item is usable by me and hit 'Use' action!
public WantsToUpdate ( float delta ) : int
delta float
Результат int

Описание свойств

actionUse публичное свойство

Trigger input Action 'Use'
public string actionUse
Результат string

characterOffset публичное свойство

Offset position
public Vector3 characterOffset
Результат Vector3