示例#1
0
 public virtual void cloneFrom(txUIObject obj)
 {
     if (obj.GetType() != GetType())
     {
         logError("ui type is different, can not clone!");
         return;
     }
     setPosition(obj.getPosition());
     setRotation(obj.getRotation());
     setScale(obj.getScale());
 }