Food ji blindly forcing: mixed arrangement of pictures and texts based on UGUI (Continued)

Last Mixed arrangement of pictures and texts Today, when you have this demand again, you pick it up and find a better understanding by the way. For record Direct up shader // Author:zouchunyi // E-mail:zouchunyi@kingsoft.com Shader "UI/EmojiText" { Properties { [PerRendererData] _MainTex ("Font Texture", 2D) = "white" {} _Color ("Tint" ...

Posted by keigowei on Wed, 26 Jan 2022 09:06:07 +0100

Mask, IMaterialModifier and IMaskable of UGUI source code

1, The essence of Mask 1. Mask is masked through template testing. Unity template test brief document. You need to know that template testing occurs in the rasterization stage / piece by piece operation. As shown in the figure: 2. Mask enables the UI system to complete the template test by creating a mask material. (1) Mask component se ...

Posted by Vincent III on Mon, 24 Jan 2022 03:09:53 +0100

UGui realizes ranking, list data assignment, sorting, ascending and descending.

catalogue UGUI sliding list implementation: Steps: The following is the code to automatically generate list items and assign and sort them: UGUI sliding list implementation: Steps: First step Create an Image and rename it to“ Scroll View ", add Scroll Rect Component, set component: uncheck horziontal (move horizontally). Add ...

Posted by Sakesaru on Tue, 04 Jan 2022 20:11:41 +0100