Originally Posted by merlight
|
I guess one of the drawbacks in learning from existing addon code is that I can't always be sure that what I'm looking at is the "right" way of doing things.
I wonder if someone would be willing to show me an example of the correct way to use ZO_Object?
Do I create a template using ZO_Object.SubClass and then instantiate an object from it using
myobject = ZO_Object.New(templateIcreated)?
That seems like it should be correct, but I don't see it done that way (in the addons I've looked at thus far)?