コード例 #1
0
        public bool Equals(Dependencies other)
        {
            //if (other == null) return false; // structs are never null

            return(eyePoint.Equals(other.eyePoint) &&
                   ragdollPrefab.Equals(other.ragdollPrefab) &&
                   animation.Equals(other.animation) &&
                   navigation.Equals(other.navigation) &&
                   stats.Equals(other.stats) &&
                   manager.Equals(other.manager) &&
                   stateMachine.Equals(other.stateMachine) &&
                   renderer.Equals(other.renderer));
        }