예제 #1
0
        public void GibAdded(IRagdollController ragdoll)
        {
            var gibLimit = GameManager.instance.ragdollLimit;

            if (gibLimit > 0)
            {
                _gibs.Enqueue(ragdoll);
            }
        }
예제 #2
0
        public void RagdollAdded(IRagdollController ragdoll)
        {
            var ragdollLimit = GameManager.instance.ragdollLimit;

            if (ragdollLimit > 0)
            {
                _ragdolls.Enqueue(ragdoll);
            }
        }