In my action system, I don't really need an existed action bar, so I don't use a use parent attribute.
Localized the Manager is because a blizzard's bug, the "control" may not existed in some condition, but it's a long time ago, I don't know if they fix it.
Since all the snippets are running in the Manager's environment, it's simple to keep a global variable to make sure I can get it everywhere.
|