C# Class QTE, Unity-Game

Inheritance: MonoBehaviour
显示文件 Open project: PeasB/Unity-Game Class Usage Examples

Public Properties

Property Type Description
IsTriggeredByMovement bool
MainCamera GameObject
Prompt GameObject
QTEFileNumber int

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D Other ) : void
ProcessFailedQTE ( ) : void
ProcessNextQTE ( ) : void
ProcessSucessQTE ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
ShouldEnd ( ) : bool
StartQTE ( ) : void

Method Details

OnTriggerEnter2D() public method

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

ProcessFailedQTE() public method

public ProcessFailedQTE ( ) : void
return void

ProcessNextQTE() public method

public ProcessNextQTE ( ) : void
return void

ProcessSucessQTE() public method

public ProcessSucessQTE ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

IsTriggeredByMovement public_oe property

public bool IsTriggeredByMovement
return bool

MainCamera public_oe property

public GameObject MainCamera
return GameObject

Prompt public_oe property

public GameObject Prompt
return GameObject

QTEFileNumber public_oe property

public int QTEFileNumber
return int