예제 #1
0
 public override void EnterState(Manager target)
 {
     Manager.Inst.currentUser.UName = MyYouTU.GetTimeStamp();
     Manager.Inst.pages[0].gameObject.SetActive(true);
     target.man.onClick.AddListener(Man);
     target.man.onClick.AddListener(PageSwitch);
     target.woman.onClick.AddListener(Woman);
     target.woman.onClick.AddListener(PageSwitch);
 }
예제 #2
0
 public void MyYoutu()
 {
     MyYouTU.Inst();
     for (int i = 0; i < 4; i++)
     {
         Sprite sprite = MyYouTU.GetFaceMerge(target.picData, target.modolDic[target.currentUser.Gender][i]);
         target.btns[i].transform.GetComponent <Image>().sprite = sprite;
         Debug.Log(target.btns[i]);
     }
 }