Another Way To Have the Animaitions Start Randomly

Instead of getting the Animator State Info, The Animation State has a Cycle Offset that you can modify with a parameter.
Unity_iAwZvrWNDC

        private void Start()
        {
            _animator.SetFloat(CycleOffsetHash, Random.value);
        }

Unity_QCLR5spP4O

3 Likes

Privacy & Terms