Show / Hide Table of Contents

Class Crystal

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
Object
Crystal
Implements
IAttackable
Namespace: BaseDefense
Assembly: BaseDefense.dll
Syntax
[RequireComponent(typeof(ItemDrop))]
public class Crystal : Object, IAttackable

Properties

CurrentHealthPoints

Текущий показатель здоровья объекта

Declaration
public float CurrentHealthPoints { get; }
Property Value
Type Description
float

Methods

Awake()

Declaration
protected override void Awake()
Overrides
Object.Awake()

Hit(float)

Вызывается для нанесения повреждений кристаллу

Declaration
public void Hit(float damage)
Parameters
Type Name Description
float damage

Количество нанесённых повреждений

Initialize()

Declaration
public void Initialize()

Load(GameDataReader)

Declaration
public override void Load(GameDataReader reader)
Parameters
Type Name Description
GameDataReader reader
Overrides
Object.Load(GameDataReader)

Save(GameDataWriter)

Declaration
public override void Save(GameDataWriter writer)
Parameters
Type Name Description
GameDataWriter writer
Overrides
Object.Save(GameDataWriter)

Implements

IAttackable
In This Article
Back to top Generated by DocFX