ã¯ããã« Unity ã® NGUI ã§ãªã¹ãã表示ããã¨ããUIGrid ãå©ç¨ããã¨ç°¡åã«å®è£ ã§ããã Sort é ãæ¢åã® "追å é ã®æé (None)"ã"ååã®æé (Alphabetic)" æå¤ã«ãããå ´åã«å¯¾å¿ããã¡ã¢ã 並ã³æ¿ãè©ä¾¡ç¨ã®é¢æ°ã宣è¨ãã UIGrid.cs ã«ããæ¢åã®ä¸¦ã³æ¿ãè©ä¾¡ç¨é¢æ°ãåèã«ä½æãã ååã®éé ã§ä¸¦ã³æ¿ãã static public int SortByNameDesc (Transform a, Transform b) { return string.Compare (b.name, a.name); } ååãæ°åã§è©ä¾¡ãã¦éé ã«ä¸¦ã³æ¿ãã ["22", "1", "3", "10"] ãæååã§è©ä¾¡ãã¦ä¸¦ã³æ¿ãã㨠["10", "1", "22", "3"] ã¨ããé çªã«ãªãããæ°åã«å¤æãã¦è©ä¾¡ãããã¨ã§ ["1", "3", "
{{#tags}}- {{label}}
{{/tags}}