Exemplo n.º 1
0
        List <GameObject> childList = null;  // List of children, must be of type GameObject

        // c'tor
        public UIShim(AddChildren addChildren, out UiSelector uiSelector, bool ignorePaths)
        {
            shared    = new Shared();
            renderObj = new RenderObj(ref shared);
            InGame.inGame.SetUIShim(renderObj);

            updateObj = new UpdateObj(ref shared);

            childList = new List <GameObject>();

            this.ignorePaths = ignorePaths;
            addChildren(childList, out uiSelector, ignorePaths);
        }   // end of UIShim c'tor
Exemplo n.º 2
0
 public async Task <IActionResult> Post(Guid ngoId, [FromBody] AddChildren command)
 => await DispatchAsync(command.Bind(c => c.NgoId, ngoId));