protected override void CreateDisplayObject() { rootContainer = new Container("GComponent"); rootContainer.gOwner = this; rootContainer.onUpdate = OnUpdate; container = rootContainer; displayObject = rootContainer; }