setUserData.lua 355 B

12345678910111213
  1. return {
  2. summary = 'Set the Collider\'s user data.',
  3. description = 'Associates a custom value with the Collider.',
  4. arguments = {
  5. {
  6. name = 'data',
  7. type = '*',
  8. description = 'The custom value to associate with the Collider.'
  9. }
  10. },
  11. returns = {},
  12. notes = 'User data can be useful to identify the Collider in callbacks.'
  13. }