LookAtObject
This components lets GameObject to rotate towards an Object
Component Author: Jabo Release Date: April 13, 2020
new LookAtObject();setTarget(GameObject t); // Sets the target to a GameObject
setTarget(Vector2 t); // Sets target to a Vector2
getTargetGameObject(); // Returns GameObjectLast updated
Was this helpful?