C# Class BossMeetHero, 3in1

Inheritance: MonoBehaviour
Show file Open project: motouhui/3in1

Public Properties

Property Type Description
BossMotion CharaMotion,
HeroMotion CharaMotion,
boss GameObject
boss_hp_Max Image
boss_hp_now Image
game_over_panel GameObject
hero GameObject
hero_hp_Max Image
hero_hp_now Image

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
BossAnimationCallback ( string aniName ) : void

动作播放回调

HeroAnimationCallback ( string aniName ) : void

动作播放回调

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

BossMotion public property

怪物的动作控制器
public CharaMotion, BossMotion
return CharaMotion,

HeroMotion public property

英雄的动作
public CharaMotion, HeroMotion
return CharaMotion,

boss public property

魔王
public GameObject boss
return GameObject

boss_hp_Max public property

public Image boss_hp_Max
return Image

boss_hp_now public property

public Image boss_hp_now
return Image

game_over_panel public property

public GameObject game_over_panel
return GameObject

hero public property

英雄对象
public GameObject hero
return GameObject

hero_hp_Max public property

public Image hero_hp_Max
return Image

hero_hp_now public property

public Image hero_hp_now
return Image