This is a rudimentary 2D player controller for the example scene. More...
Public Member Functions | |
virtual void | CommitDeed (string tag) |
Public Attributes | |
float | speedFactor = 0.5f |
float | uiUpdateFrequency = 0.5f |
Public Attributes inherited from PixelCrushers.LoveHate.Example.Mover2D | |
bool | controlMovement = true |
Vector3 | moveToPosition |
Protected Member Functions | |
override void | Start () |
IEnumerator | UpdateUICoroutine () |
virtual void | Update () |
virtual void | OnCollisionEnter2D (Collision2D coll) |
virtual void | OnCollisionExit2D (Collision2D coll) |
void | CheckTouchNPC (NPC npc) |
void | CheckUntouchNPC (NPC npc) |
Protected Member Functions inherited from PixelCrushers.LoveHate.Example.Mover2D | |
virtual void | FixedUpdate () |
Properties | |
NPC | currentTarget [get] |
InteractionUI | interactionUI [get] |
Additional Inherited Members | |
Protected Attributes inherited from PixelCrushers.LoveHate.Example.Mover2D | |
Rect | cameraRect |
Rigidbody2D | rb |
This is a rudimentary 2D player controller for the example scene.
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Reimplemented from PixelCrushers.LoveHate.Example.Mover2D.
|
inlineprotectedvirtual |
|
inlineprotected |
float PixelCrushers.LoveHate.Example.RudimentaryPlayerController2D.speedFactor = 0.5f |
float PixelCrushers.LoveHate.Example.RudimentaryPlayerController2D.uiUpdateFrequency = 0.5f |
|
get |
|
get |