C# Class Hunter, DarkDreams

Inheritance: MonoBehaviour
显示文件 Open project: technicalvgda/DarkDreams Class Usage Examples

Public Properties

Property Type Description
activeSpeed float
anim Animator
counter float
defaultSpeed float
facingRight bool
fogLeft GameObject
fogRight GameObject
isCaught bool
killPlayer bool
movement float
originalPosition Vector3
originalRotation Quaternion
shakeTrigger float

Public Methods

Method Description
FlipEnemy ( ) : void
KillPlayer ( ) : void
LateUpdate ( ) : void
OnTriggerEnter2D ( Collider2D col ) : void
PlayWhistle ( ) : void
SetSpeed ( ) : void
Start ( ) : void
StopSpeed ( ) : void
Update ( ) : void

Method Details

FlipEnemy() public method

public FlipEnemy ( ) : void
return void

KillPlayer() public method

public KillPlayer ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

PlayWhistle() public method

public PlayWhistle ( ) : void
return void

SetSpeed() public method

public SetSpeed ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StopSpeed() public method

public StopSpeed ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

activeSpeed public_oe property

public float activeSpeed
return float

anim public_oe property

public Animator anim
return Animator

counter public_oe property

public float counter
return float

defaultSpeed public_oe property

public float defaultSpeed
return float

facingRight public_oe property

public bool facingRight
return bool

fogLeft public_oe property

public GameObject fogLeft
return GameObject

fogRight public_oe property

public GameObject fogRight
return GameObject

isCaught public_oe property

public bool isCaught
return bool

killPlayer public_oe property

public bool killPlayer
return bool

movement public_oe property

public float movement
return float

originalPosition public_oe property

public Vector3 originalPosition
return Vector3

originalRotation public_oe property

public Quaternion originalRotation
return Quaternion

shakeTrigger public_oe property

public float shakeTrigger
return float