C# Класс Equipment, UnderworldExporter

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Durability int

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

Метод Описание
ActivateByObject ( GameObject ObjectUsed ) : bool

Activation of this object by another. EG key on door

GetActualSpellIndex ( ) : int
GetEquipmentConditionString ( ) : string

Gets the equipment condition.

LookAt ( ) : bool
OnSubmitPickup ( string ans ) : void

Event handler for processing the repair question y/n

UpdateQuality ( ) : void

Refreshes the quality of armour when damage is taken

use ( ) : bool

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

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

Activation of this object by another. EG key on door
public ActivateByObject ( GameObject ObjectUsed ) : bool
ObjectUsed GameObject Object used.
Результат bool

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

public GetActualSpellIndex ( ) : int
Результат int

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

Gets the equipment condition.
public GetEquipmentConditionString ( ) : string
Результат string

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

public LookAt ( ) : bool
Результат bool

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

Event handler for processing the repair question y/n
public OnSubmitPickup ( string ans ) : void
ans string Ans.
Результат void

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

Refreshes the quality of armour when damage is taken
public UpdateQuality ( ) : void
Результат void

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

public use ( ) : bool
Результат bool

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

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

public int Durability
Результат int