public override void UpdateActor(Vector3 delta, bool isEqual) { if (delta != Vector3.get_zero()) { for (int i = 0; i < this.passengers.get_Count(); i++) { ActorParent actorParent = this.passengers.get_Item(i); Collider[] componentsInChildren = actorParent.get_transform().get_root().GetComponentsInChildren <Collider>(); for (int j = 0; j < componentsInChildren.Length; j++) { if (this.ContainsPoint(actorParent.get_transform().get_position()) || (Vector3.Dot(actorParent.get_transform().get_position() - base.get_transform().get_position(), base.get_transform().get_up()) > 0f && this.IntersectingTrigger(componentsInChildren[j]))) { actorParent.UpdatePlatform(delta, false); } } } } }