Esempio n. 1
0
            private bool IsAllowUpdateControlledObject()
            {
                //bad for system with disabled renderer, because here game logic depends animation.
                AnimationTree tree = Owner.ControlledObject.GetFirstAnimationTree();

                if (tree != null && tree.GetActiveTriggers().Count != 0)
                {
                    return(false);
                }
                return(true);
            }