浏览代码

Remove SetTargetFrameRate as it now happens automatically

/3.1
Tim Mowrer 5 年前
当前提交
7f8be47a
共有 22 个文件被更改,包括 22 次插入425 次删除
  1. 14
      Assets/Scenes/ARCollaborationData/ARCollaborationDataExample.unity
  2. 119
      Assets/Scenes/ARWorldMap.unity
  3. 15
      Assets/Scenes/CameraImage.unity
  4. 15
      Assets/Scenes/Check Support.unity
  5. 15
      Assets/Scenes/EnvironmentProbes.unity
  6. 15
      Assets/Scenes/FaceTracking/ARCoreFaceRegions.unity
  7. 15
      Assets/Scenes/FaceTracking/ARKitFaceBlendShapes.unity
  8. 15
      Assets/Scenes/FaceTracking/FaceMesh.unity
  9. 15
      Assets/Scenes/FaceTracking/FacePose.unity
  10. 15
      Assets/Scenes/FaceTracking/RearCameraWithFrontCameraFaceMesh.unity
  11. 14
      Assets/Scenes/HumanSegmentation/HumanBodyTracking2D.unity
  12. 14
      Assets/Scenes/HumanSegmentation/HumanBodyTracking3D.unity
  13. 14
      Assets/Scenes/HumanSegmentation/HumanSegmentationImages.unity
  14. 15
      Assets/Scenes/LightEstimation.unity
  15. 15
      Assets/Scenes/Plane Detection/FeatheredPlanes.unity
  16. 15
      Assets/Scenes/Plane Detection/TogglePlaneDetection.unity
  17. 15
      Assets/Scenes/ReferencePoints.unity
  18. 15
      Assets/Scenes/Scale.unity
  19. 15
      Assets/Scenes/SimpleAR.unity
  20. 15
      Assets/Scenes/UX/SampleUXScene.unity
  21. 36
      Assets/Scripts/SetTargetFramerate.cs
  22. 11
      Assets/Scripts/SetTargetFramerate.cs.meta

14
Assets/Scenes/ARCollaborationData/ARCollaborationDataExample.unity


- component: {fileID: 1297001903}
- component: {fileID: 1297001902}
- component: {fileID: 1297001901}
- component: {fileID: 1297001905}
- component: {fileID: 1297001904}
m_Layer: 0
m_Name: AR Session

m_Name:
m_EditorClassIdentifier:
m_Text: {fileID: 1888598222}
--- !u!114 &1297001905
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1297001900}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!1 &1342067403
GameObject:
m_ObjectHideFlags: 0

119
Assets/Scenes/ARWorldMap.unity


m_Children:
- {fileID: 922031779}
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &268973511
GameObject:

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &268973513
MonoBehaviour:

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &358264980
GameObject:

- {fileID: 1337723565}
- {fileID: 781829498}
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1544020815}
m_CullTransparentMesh: 0
--- !u!1 &1798127390
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1798127394}
- component: {fileID: 1798127393}
- component: {fileID: 1798127392}
- component: {fileID: 1798127391}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &1798127391
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1798127390}
m_Enabled: 1
--- !u!124 &1798127392
Behaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1798127390}
m_Enabled: 1
--- !u!20 &1798127393
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1798127390}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &1798127394
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1798127390}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1883263239
GameObject:
m_ObjectHideFlags: 0

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &2030565721
GameObject:

- component: {fileID: 2030565723}
- component: {fileID: 2030565722}
- component: {fileID: 2030565725}
- component: {fileID: 2030565724}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &2030565723
Transform:
m_ObjectHideFlags: 0

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 2
--- !u!114 &2030565724
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2030565721}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &2030565725
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/CameraImage.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/Check Support.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/EnvironmentProbes.unity


- component: {fileID: 585642732}
- component: {fileID: 585642731}
- component: {fileID: 585642730}
- component: {fileID: 585642733}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &585642732
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &585642733
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 585642729}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!1001 &586748458
PrefabInstance:
m_ObjectHideFlags: 0

15
Assets/Scenes/FaceTracking/ARCoreFaceRegions.unity


- component: {fileID: 1416175871}
- component: {fileID: 1416175870}
- component: {fileID: 1416175869}
- component: {fileID: 1416175872}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &1416175871
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1416175872
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1416175868}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!1 &1898849416
GameObject:
m_ObjectHideFlags: 0

15
Assets/Scenes/FaceTracking/ARKitFaceBlendShapes.unity


- component: {fileID: 208234941}
- component: {fileID: 208234940}
- component: {fileID: 208234943}
- component: {fileID: 208234942}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &208234941
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &208234942
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 208234939}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &208234943
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/FaceTracking/FaceMesh.unity


- component: {fileID: 208234941}
- component: {fileID: 208234940}
- component: {fileID: 208234943}
- component: {fileID: 208234942}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &208234941
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &208234942
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 208234939}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &208234943
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/FaceTracking/FacePose.unity


- component: {fileID: 208234941}
- component: {fileID: 208234940}
- component: {fileID: 208234943}
- component: {fileID: 208234942}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &208234941
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &208234942
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 208234939}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &208234943
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/FaceTracking/RearCameraWithFrontCameraFaceMesh.unity


- component: {fileID: 208234941}
- component: {fileID: 208234940}
- component: {fileID: 208234943}
- component: {fileID: 208234942}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &208234941
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &208234942
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 208234939}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &208234943
MonoBehaviour:
m_ObjectHideFlags: 0

14
Assets/Scenes/HumanSegmentation/HumanBodyTracking2D.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

14
Assets/Scenes/HumanSegmentation/HumanBodyTracking3D.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

14
Assets/Scenes/HumanSegmentation/HumanSegmentationImages.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/LightEstimation.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/Plane Detection/FeatheredPlanes.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/Plane Detection/TogglePlaneDetection.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/ReferencePoints.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/Scale.unity


- component: {fileID: 773966717}
- component: {fileID: 773966716}
- component: {fileID: 773966718}
- component: {fileID: 773966715}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_IsActive: 1
--- !u!114 &773966715
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 773966714}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &773966716
MonoBehaviour:
m_ObjectHideFlags: 0

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &773966717
Transform:
m_ObjectHideFlags: 0

15
Assets/Scenes/SimpleAR.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

15
Assets/Scenes/UX/SampleUXScene.unity


- component: {fileID: 427002220}
- component: {fileID: 427002219}
- component: {fileID: 427002222}
- component: {fileID: 427002221}
m_Layer: 0
m_Name: AR Session
m_TagString: Untagged

m_Name:
m_EditorClassIdentifier:
m_AttemptUpdate: 1
m_MatchFrameRate: 1
--- !u!4 &427002220
Transform:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &427002221
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427002218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1eb9777efa8174381b01d319232f7df5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TargetFrameRate: 60
--- !u!114 &427002222
MonoBehaviour:
m_ObjectHideFlags: 0

36
Assets/Scripts/SetTargetFramerate.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Simple MonoBehaviour to set the Application's targetFrameRate
/// </summary>
public class SetTargetFramerate : MonoBehaviour
{
[SerializeField]
[Tooltip("Sets the application's target frame rate.")]
int m_TargetFrameRate = 60;
/// <summary>
/// Get or set the application's target frame rate.
/// </summary>
public int targetFrameRate
{
get { return m_TargetFrameRate; }
set
{
m_TargetFrameRate = value;
SetFrameRate();
}
}
void SetFrameRate()
{
Application.targetFrameRate = targetFrameRate;
}
void Start()
{
SetFrameRate();
}
}

11
Assets/Scripts/SetTargetFramerate.cs.meta


fileFormatVersion: 2
guid: 1eb9777efa8174381b01d319232f7df5
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存