Loading...
Searching...
No Matches
PixelCrushers.LoveHate.Example.Mover2D Class Reference

This script moves 2D GameObjects. More...

Inheritance diagram for PixelCrushers.LoveHate.Example.Mover2D:
Collaboration diagram for PixelCrushers.LoveHate.Example.Mover2D:

Public Attributes

bool controlMovement = true
 
Vector3 moveToPosition
 

Protected Member Functions

virtual void Start ()
 
virtual void FixedUpdate ()
 

Protected Attributes

Rect cameraRect
 
Rigidbody2D rb
 

Detailed Description

This script moves 2D GameObjects.

It's used in the example scene for the player and NPCs.

Member Function Documentation

◆ FixedUpdate()

virtual void PixelCrushers.LoveHate.Example.Mover2D.FixedUpdate ( )
inlineprotectedvirtual

◆ Start()

virtual void PixelCrushers.LoveHate.Example.Mover2D.Start ( )
inlineprotectedvirtual

Member Data Documentation

◆ cameraRect

Rect PixelCrushers.LoveHate.Example.Mover2D.cameraRect
protected

◆ controlMovement

bool PixelCrushers.LoveHate.Example.Mover2D.controlMovement = true

◆ moveToPosition

Vector3 PixelCrushers.LoveHate.Example.Mover2D.moveToPosition

◆ rb

Rigidbody2D PixelCrushers.LoveHate.Example.Mover2D.rb
protected

The documentation for this class was generated from the following file: