コード例 #1
0
 void Start()
 {
     mVertical.SetValue(mCellCount, (int index, GameObject o) => {
         o.GetComponentInChildren <Text>().text = index.ToString();
     });
     mHorizontal.SetValue(mCellCount, (int index, GameObject o) => {
         o.GetComponentInChildren <Text>().text = index.ToString();
     });
 }