C# Class PlayerGirl, urban-survivors

Inheritance: PlayerBase
Show file Open project: exdev/urban-survivors

Public Properties

Property Type Description
degreePlayMoveLeftRight float
followDistance float
followTarget GameObject
lowerBody Transform
snd_onstun UnityEngine.AudioClip
upperBody Transform

Protected Properties

Property Type Description
aimDir Vector3

Public Methods

Method Description
ActMovement ( ) : void
CalcSeek ( ) : void
GetAutoLockDir ( Vector2 _dir ) : Vector2
IsCloseFollowTarget ( ) : bool
IsFarAwayFollowTarget ( ) : bool
IsReloading ( ) : bool
LateUpdate ( ) : void
NeedAvoid ( ) : bool
OnActiveReload ( ) : void
OnRecover ( float _hp ) : void
OnReload ( ) : void
OnStun ( ) : void
OnTriggerEnter ( Collider _other ) : void
ProcessMovement ( ) : void
ReloadTime ( ) : float
UpdateAvoid ( ) : void
UpdateFollow ( ) : void
UpdateIdle ( ) : void
UpdateReload ( ) : void
UpdateShoot ( ) : void
UpdateStun ( ) : void

Protected Methods

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

Private Methods

Method Description
FallDown ( ) : IEnumerator
HandleInput ( ) : void
InitAnim ( ) : void

Method Details

ActMovement() public method

public ActMovement ( ) : void
return void

CalcSeek() public method

public CalcSeek ( ) : void
return void

GetAutoLockDir() public method

public GetAutoLockDir ( Vector2 _dir ) : Vector2
_dir Vector2
return Vector2

IsCloseFollowTarget() public method

public IsCloseFollowTarget ( ) : bool
return bool

IsFarAwayFollowTarget() public method

public IsFarAwayFollowTarget ( ) : bool
return bool

IsReloading() public method

public IsReloading ( ) : bool
return bool

LateUpdate() public method

public LateUpdate ( ) : void
return void

NeedAvoid() public method

public NeedAvoid ( ) : bool
return bool

OnActiveReload() public method

public OnActiveReload ( ) : void
return void

OnRecover() public method

public OnRecover ( float _hp ) : void
_hp float
return void

OnReload() public method

public OnReload ( ) : void
return void

OnStun() public method

public OnStun ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider _other ) : void
_other Collider
return void

ProcessMovement() public method

public ProcessMovement ( ) : void
return void

ReloadTime() public method

public ReloadTime ( ) : float
return float

ShowDebugInfo() protected method

protected ShowDebugInfo ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

UpdateAvoid() public method

public UpdateAvoid ( ) : void
return void

UpdateFollow() public method

public UpdateFollow ( ) : void
return void

UpdateIdle() public method

public UpdateIdle ( ) : void
return void

UpdateReload() public method

public UpdateReload ( ) : void
return void

UpdateShoot() public method

public UpdateShoot ( ) : void
return void

UpdateStun() public method

public UpdateStun ( ) : void
return void

Property Details

aimDir protected property

protected Vector3 aimDir
return Vector3

degreePlayMoveLeftRight public property

public float degreePlayMoveLeftRight
return float

followDistance public property

public float followDistance
return float

followTarget public property

public GameObject followTarget
return GameObject

lowerBody public property

public Transform lowerBody
return Transform

snd_onstun public property

public AudioClip,UnityEngine snd_onstun
return UnityEngine.AudioClip

upperBody public property

public Transform upperBody
return Transform