getUserData.lua 427 B

123456789101112131415161718
  1. return {
  2. summary = 'Get the Collider\'s user data.',
  3. description = 'Returns the user data associated with the Collider.',
  4. arguments = {},
  5. returns = {
  6. data = {
  7. type = '*',
  8. description = 'The custom value associated with the Collider.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'data' }
  15. }
  16. },
  17. notes = 'User data can be useful to identify the Collider in callbacks.'
  18. }