Пример #1
0
 private void SetupBackground(Color backgroundColor, Vector3 localScale, int sortingOrder)
 {
     background = UtilsClass.CreateWorldSprite(transform, "Background", Assets.i.s_White, new Vector3(0, 0), localScale, sortingOrder, backgroundColor).transform;
 }
Пример #2
0
 private void SetupOutline(Outline outline, Vector3 localScale, int sortingOrder)
 {
     UtilsClass.CreateWorldSprite(transform, "Outline", Assets.i.s_White, new Vector3(0, 0), localScale + new Vector3(outline.size, outline.size), sortingOrder, outline.color);
 }