Sets a custom vector2 data to the entity. This method will overwrite both type and value if another data with the same name exists.
vector2
Sample:
bullet.SetVector2("direction", vector2(1, 0)); bullet.AddToPositionXY(bullet.GetVector2("direction"));