Beispiel #1
0
        protected void AnimateHolocronDown()
        {
            // animating the holocron down
            HolocronContainer.transform.DOMove(Vector3.zero, 1f).SetEase(Ease.InCubic).OnComplete(() =>
            {
                // turning off tool tip
                FtueTooltip.SetActive(false);

                // turning on glow
                HologramGlow.SetActive(true);

                // starting animation sequence
                sequence.Play();
            });
        }
Beispiel #2
0
 protected void Update()
 {
                 #if UNITY_EDITOR
     if (Input.GetKeyDown(KeyCode.Alpha1))
     {
         if (currentInteraction == DarkSideFtueInteractionType.AttackKylo1 || currentInteraction == DarkSideFtueInteractionType.AttackKylo2)
         {
             sequence.Play();
         }
     }
                 #endif
 }