public virtual void addChild(CCNode child, int z, string tag){
NSUtils.Assert( child != null, "Argument must be non-nil");
NSUtils.Assert( child.parent == null, "child already added. It can't be added again");
if (_children == null)
_children = new List<CCNode> ();
insertChild (child, z);
child.userTag = tag;
child.parent = this;
child.orderOfArrival = globalOrderOfArrival ++;
if (_isRunning) {
child.onEnter();
child.onEnterTransitionDidFinish();
}
}
public void addChild(CCNode child){