Element - MalisPierre/ModularGame GitHub Wiki
Element
ClassDescription:
This Class allow you to easily handle a GameObject in Unity, like the player, the obstacles or the AI.
Functions:
void SetParent(Element Obj)
void Hide()
void Show()
string GetTag()
string GetLayer()
string GetName()
void Delete()
int GetElementCount()
Element GetElement(int Idx)
Element FindElement(string Id)
void LookAtY(Vector3 TargetPos, Vector3 Offset)
void LookAt(Vector3 TargetPos)
Vector3 GetPosition()
void SetPosition(Vector3 Pos)
void MoveUp(float Speed)
void MoveRight(float Speed)
void MoveForward(float Speed)
void MoveToward(Vector3 TargetPos, float Speed)