- changed status to resolved
Incorrect Button Attribute Example in Docs
Issue #35
resolved
3rd example on this page leads to compiler error "ButtonAttribute does not contain a constructor that takes 1 arguements".
The below usage compiles and has the intended effect:
[Button(Name = "Toggle All Debugs")]
Comments (1)
-
- Log in to comment
Whoops good catch. Writing Name = "..." everywhere seems unnessessary, so we've added some new constructors to ButtonAttribute, so simplify things, and that means the documentation is also accurate, with the next update.
Sorry for the inconvenience.