Skip to content

Commit

Permalink
Merge pull request #34 from realitycollective/feature/standard-assets
Browse files Browse the repository at this point in the history
Add a default player trigger prefab for developer convenience
  • Loading branch information
FejZa authored May 15, 2024
2 parents c212214 + 2044685 commit 82615c5
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 2 deletions.
77 changes: 77 additions & 0 deletions Assets~/StandardAssets/Prefabs/PlayerTrigger_Box.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6393819772069243272
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3393185442029483515}
- component: {fileID: 7441050385542920871}
- component: {fileID: -6346162315133059771}
m_Layer: 0
m_Name: PlayerTrigger_Box
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3393185442029483515
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6393819772069243272}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &7441050385542920871
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6393819772069243272}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 1
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &-6346162315133059771
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6393819772069243272}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7e37f611479aea84eb78691a447708db, type: 3}
m_Name:
m_EditorClassIdentifier:
onPlayerEnter:
m_PersistentCalls:
m_Calls: []
onPlayerStay:
m_PersistentCalls:
m_Calls: []
onPlayerExit:
m_PersistentCalls:
m_Calls: []
7 changes: 7 additions & 0 deletions Assets~/StandardAssets/Prefabs/PlayerTrigger_Box.prefab.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"url": "https://github.com/realitycollective"
},
"dependencies": {
"com.realitytoolkit.core": "1.0.0-pre.48",
"com.realitytoolkit.core": "1.0.0-pre.50",
"com.unity.xr.legacyinputhelpers": "2.1.7"
},
"assets": [
Expand All @@ -37,4 +37,4 @@
"path": "Assets~/"
}
]
}
}

0 comments on commit 82615c5

Please sign in to comment.