unity_art_puzzle_playable_luna/5.5.0/engine/luna/physics2d-1-stub.js

1 line
1.9 KiB
JavaScript
Raw Normal View History

2023-12-21 08:46:57 +00:00
!function(){let o=!1;class e{constructor(){o||(o=!0,console.error("You have excluded Physics 2D from your build but your game is still using it. Consider including it back if you are experiencing any issues."))}}pc.Physics2DSystem=class extends pc.UnityComponentSystem{constructor(o){super(o),this.id="physics2D",this.performanceSamplerSection=pc.Counters.PHYSICS2D;const e=pc.ProjectSettings.instance.physics2DSettings;this.gravity=e.gravity.clone(),this.autoSyncTransforms=e.autoSyncTransforms,this.positionIterations=e.positionIterations,this.velocityIterations=e.velocityIterations,this.defaultMaterial=e.material}setIgnoreCollisionBetweenLayers(){}syncHierarchyRecursive(){}syncHierarchy(){}syncTransforms(){}},pc.Collider2DSystem=class extends pc.UnityComponentSystem{constructor(o){super(o),this.id="collider2D",this.performanceSamplerSection=pc.Counters.PHYSICS2D}},pc.Rigidbody2DSystem=class extends pc.UnityComponentSystem{constructor(o){super(o),this.id="rigidbody2D",this.performanceSamplerSection=pc.Counters.PHYSICS2D}},pc.Joint2DSystem=class extends pc.UnityComponentSystem{constructor(o){super(o),this.id="joint2D",this.performanceSamplerSection=pc.Counters.PHYSICS2D}},pc.Effector2DSystem=class extends pc.UnityComponentSystem{constructor(o){super(o),this.id="effector2D",this.performanceSamplerSection=pc.Counters.PHYSICS2D}},pc.Collider2DComponent=e,pc.CapsuleCollider2DComponent=e,pc.CircleCollider2DComponent=e,pc.BoxCollider2DComponent=e,pc.EdgeCollider2DComponent=e,pc.PolygonCollider2DComponent=e,pc.Rigidbody2DComponent=e,pc.Joint2DComponent=e,pc.AnchoredJoint2DComponent=e,pc.DistanceJoint2DComponent=e,pc.FixedJoint2DComponent=e,pc.FrictionJoint2DComponent=e,pc.HingeJoint2DComponent=e,pc.RelativeJoint2DComponent=e,pc.SliderJoint2DComponent=e,pc.SpringJoint2DComponent=e,pc.TargetJoint2DComponent=e,pc.WheelJoint2DComponent=e,pc.Effector2DComponent=e,pc.PlatformEffector2DComponent=e}();