Method: Cukunity::Unity::GameObject#hints

Defined in:
lib/cukunity/unity/gameobject.rb

#hints(options = {}) ⇒ Object



45
46
47
48
49
50
# File 'lib/cukunity/unity/gameobject.rb', line 45

def hints(options = {})
  options = merge_options(options, { :recursive => false })
  components(restrict_options(options, :recursive)).inject([]) do |hints, component|
    hints + component.hints(options)
  end
end