Interactive.Detail.Totem.Stop C# (CSharp) Method

Stop() public method

public Stop ( ) : void
return void
        public void Stop()
        {
            myTransform.DOKill ();
        }

Usage Example

Esempio n. 1
0
        private void TeleportTotem(Totem totem)
        {
            totem.Stop();
            totem.transform.DOKill();
            totem.transform.position = portalTarget.transform.position;
            SoundManager.Instance.AudioSourceLib.PortalSound.Play ();

            totem.GoToSecondaryPositionToGo();
        }
All Usage Examples Of Interactive.Detail.Totem::Stop