LookAtObject

This components lets GameObject to rotate towards an Object

Component Author: Jabo Release Date: April 13, 2020

Usage
Methods
Usage
new LookAtObject();
Methods
setTarget(GameObject t); // Sets the target to a GameObject
setTarget(Vector2 t); // Sets target to a Vector2
getTargetGameObject(); // Returns GameObject