1. Hi there!
    I want to add a simple Images to the screen. How I can do it?
    I have some code, that adding images to the screen, but i don't know that i add before and after it to make it appear on the screen.
    Code:
    Code:
                var elements = new CuiElementContainer();
                  elements.Add(new CuiElement
                    {
                        Name = CuiHelper.GetGuid(),
                        Components =
                        {
                            new CuiRawImageComponent { Color = "1 1 1 0.3", Url = "http://i.imgur.com/AALN6OH.png" },
                            new CuiRectTransformComponent { AnchorMin = "0.18 0.092", AnchorMax = "0.197 0.117" }
                        }
                    });
                       elements.Add(new CuiElement
                    {
                        Name = CuiHelper.GetGuid(),
                        Components =
                        {
                            new CuiRawImageComponent { Color = "1 1 1 0.3", Url = "http://i.imgur.com/xEsdDx7.png" },
                            new CuiRectTransformComponent { AnchorMin = "0.18 0.062", AnchorMax = "0.197 0.087" }
                        }
                    });
                    elements.Add(new CuiElement
                    {
                        Name = CuiHelper.GetGuid(),
                        Components =
                        {
                            new CuiRawImageComponent { Color = "1 1 1 0.3", Url = "http://i.imgur.com/BfnFlde.png" },
                            new CuiRectTransformComponent { AnchorMin = "0.18 0.032", AnchorMax = "0.197 0.057" }
                        }
                    });
                    elements.Add(new CuiElement
                    {
                        Name = CuiHelper.GetGuid(),
                        Components =
                        {
                            new CuiRawImageComponent { Color = "1 1 1 0.3", Url = "http://i.imgur.com/k6hV6dP.png" },
                            new CuiRectTransformComponent { AnchorMin = "0.18 0.002", AnchorMax = "0.197 0.027" }
                        }
                    });
     
    Last edited by a moderator: Mar 27, 2017
  2. Thank you very much.