예제 #1
0
 private void MoveCollToTop()
 {
     LeanTween.move(PanelColl.GetComponent <RectTransform>(), PosColl.anchoredPosition, .2f).setOnComplete(ActivateFbButton);
 }
예제 #2
0
 private void Awake()
 {
     PanelFrag.GetComponent <CanvasGroup>().alpha = 0;
     PanelColl.GetComponent <CanvasGroup>().alpha = 0;
     FbButton.gameObject.SetActive(false);
 }
예제 #3
0
 private void ShowFragments()
 {
     LeanTween.alphaCanvas(PanelFrag.GetComponent <CanvasGroup>(), 1, .5f).setOnComplete(MoveFragToTop);
     LeanTween.alphaCanvas(PanelColl.GetComponent <CanvasGroup>(), 1, .5f).setOnComplete(MoveCollToTop);
 }