C# Class GGJ.Player.PlayerCore

プレイヤのコア
Inheritance: UnityEngine.MonoBehaviour, IAttacker, IDamageable
显示文件 Open project: TORISOUP/Born_to_Beans_src Class Usage Examples

Public Properties

Property Type Description
PlayerControllable ReactiveProperty

Public Methods

Method Description
ApplyDamage ( Damage damage ) : void

プレイヤにダメージを与える

SetPlayerId ( int id ) : void
Start ( ) : void

Method Details

ApplyDamage() public method

プレイヤにダメージを与える
public ApplyDamage ( Damage damage ) : void
damage GGJ.Damages.Damage
return void

SetPlayerId() public method

public SetPlayerId ( int id ) : void
id int
return void

Start() public method

public Start ( ) : void
return void

Property Details

PlayerControllable public_oe property

プレイヤが操作可能な状態であるか
public ReactiveProperty PlayerControllable
return ReactiveProperty