Exemple #1
0
 public void ClickedFunctions()
 {
     levelScreen.SetActive(false);
     functionScreen.SetActive(true);
     methodCanvas.SetActive(true);
     dashboardCanvas.SetActive(true);
     gameController.SetActive(true);
     CanvasAnimations.MoveCanvas(menuCanvas, new Vector3(-0.28f, 0, 0.2f));
     CanvasAnimations.MoveCanvas(dashboardCanvas, new Vector3(0, 0, 0.35f));
     CanvasAnimations.MoveCanvas(methodCanvas, new Vector3(0.24f, 0, 0.25f));
     state = UIStates.function;
 }
Exemple #2
0
 public static float GetSelfParentPosition(RectTransform self, CanvasAnimations.HorizontalOrientations orientation)
 {
     return(CanvasAnimations.GetSelfParentPosition(self, orientation));
 }
Exemple #3
0
 public static Tweener MoveInHorSide(Transform transformToCastAndMove, float movementSpeed, CanvasAnimations.HorizontalOrientations moveInFrom, Ease ease = Ease.Unset)
 {
     return(CanvasAnimations.MoveInHorSide(transformToCastAndMove, movementSpeed, moveInFrom, ease).SetUpdate(true));
 }
Exemple #4
0
 public static Tweener MoveOutVertSide(RectTransform transformToMove, float movementSpeed, CanvasAnimations.VerticalOrientation moveOutTo, Ease ease = Ease.Unset)
 {
     return(CanvasAnimations.MoveOutVertSide(transformToMove, movementSpeed, moveOutTo, ease).SetUpdate(true));
 }