WOZLLA.js
function GameObject(useRectTransform) {
            if (useRectTransform === void 0) { useRectTransform = false; }
            _super.call(this);
            this._UID = WOZLLA.utils.IdentifyUtils.genUID();
            this._active = true;
            this._visible = true;
            this._initialized = false;
            this._destroyed = false;
            this._touchable = false;
            this._loadingAssets = false;
            this._name = 'GameObject';
            this._children = [];
            this._components = [];
            this._transform = useRectTransform ? new WOZLLA.RectTransform() : new WOZLLA.Transform();
            this._rectTransform = useRectTransform ? this._transform : null;
            this._z = 0;
            this._behaviours = [];
        }
function GameObject(useRectTransform) {
            if (useRectTransform === void 0) { useRectTransform = false; }
            _super.call(this);
            this._UID = WOZLLA.utils.IdentifyUtils.genUID();
            this._active = true;
            this._visible = true;
            this._initialized = false;
            this._destroyed = false;
            this._touchable = false;
            this._loadingAssets = false;
            this._name = 'GameObject';
            this._children = [];
            this._components = [];
            this._transform = useRectTransform ? new WOZLLA.RectTransform() : new WOZLLA.Transform();
            this._rectTransform = useRectTransform ? this._transform : null;
            this._z = 0;
            this._behaviours = [];
        }
function GameObject ( useRectTransform ) { if ( useRectTransform === void 0 ) { useRectTransform = false ; } _super . call ( this ) ; this . _UID = WOZLLA . utils . IdentifyUtils . genUID ( ) ; this . _active = true ; this . _visible = true ; this . _initialized = false ; this . _destroyed = false ; this . _touchable = false ; this . _loadingAssets = false ; this . _name = 'GameObject' ; this . _children = [ ] ; this . _components = [ ] ; this . _transform = useRectTransform ? new WOZLLA . RectTransform ( ) : new WOZLLA . Transform ( ) ; this . _rectTransform = useRectTransform ? this . _transform : null ; this . _z = 0 ; this . _behaviours = [ ] ; }
new a GameObject
@method constructor
@member WOZLLA.GameObject
@param {boolean} useRectTransform specify which transform this game object should be used.
new a GameObject