diff --git a/inferno/src/inferno/script/registration.cpp b/inferno/src/inferno/script/registration.cpp index 8f87980..fa1f28c 100644 --- a/inferno/src/inferno/script/registration.cpp +++ b/inferno/src/inferno/script/registration.cpp @@ -89,6 +89,7 @@ namespace Inferno { transformComponent["rotate"] = &TransformComponent::rotate; transformComponent["scale"] = &TransformComponent::scale; transformComponent["transform"] = &TransformComponent::transform; + transformComponent["__tostring"] = &string; auto cameraType = state.new_enum("CameraType", "Orthographic", CameraType::Orthographic,