コード例 #1
0
ファイル: PinnItem.cs プロジェクト: civalice/OryorSmartApp
 public void Pinn(int idx)
 {
     index = idx;
     transform.localPosition = new Vector3(-8, index * -0.6f, 0);
     if (MainMenuGlobal.getCurrentState() == MainMenuState.MS_SHORTCUT)
     {
         UserCommonData.AddBookmark(UnPinnObj.index);
     }
     if (EventCollider != null)
     {
         EventCollider.enabled = false;
     }
     //run Shift in
     StopCoroutine("PlayUnPin");
     StopCoroutine("PlayPin");
     StopCoroutine("PlayShiftUp");
     StartCoroutine("PlayPin");
 }