Show / Hide Table of Contents

Class EnemyStation

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
Object
EnemyStation
Implements
IAttackable
Namespace: BaseDefense
Assembly: BaseDefense.dll
Syntax
[RequireComponent(typeof(DisplayHealthPoints))]
public class EnemyStation : 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)

SpawnEnemy(Transform[])

Declaration
public EnemyCharacter SpawnEnemy(Transform[] targetPoints)
Parameters
Type Name Description
Transform[] targetPoints
Returns
Type Description
EnemyCharacter

Implements

IAttackable
In This Article
Back to top Generated by DocFX