Skip to content

Commit

Permalink
Prefab update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Nov 21, 2024
1 parent 7ff6555 commit 16ee936
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
7 changes: 4 additions & 3 deletions unity/Assets/Resources/ThirdPartyCameraTemplate.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GameObject:
- component: {fileID: 5990649868303501632}
- component: {fileID: 3402215512074657615}
- component: {fileID: 5576228602605313083}
- component: {fileID: 5929461731447045472}
- component: {fileID: 2621852717849587523}
m_Layer: 0
m_Name: ThirdPartyCameraTemplate
m_TagString: Untagged
Expand Down Expand Up @@ -149,7 +149,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: dd09293d18a1af44d95b8ed5c5418f95, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &5929461731447045472
--- !u!114 &2621852717849587523
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
Expand All @@ -158,6 +158,7 @@ MonoBehaviour:
m_GameObject: {fileID: 7692911009727723218}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 68871f0bc5fb742138947ad4c5e73f7d, type: 3}
m_Script: {fileID: 11500000, guid: ef2c6204ab3bb40a6afb21bd364dbadc, type: 3}
m_Name:
m_EditorClassIdentifier:
distortionMat: {fileID: 0}
2 changes: 1 addition & 1 deletion unity/Assets/Scripts/AgentManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void Start() {

//Why is Rendering manager not in cloudrendering?

gameObject.AddComponent(typeof(RenderingManager));
// gameObject.AddComponent(typeof(RenderingManager));

// Camera camera = this.primaryAgent.gameObject.GetComponentInChildren<Camera>();
// camera.targetTexture = createRenderTexture(Screen.width, Screen.height);
Expand Down
11 changes: 11 additions & 0 deletions unity/Assets/Scripts/RenderingManager.cs.meta

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

Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ GameObject:
- component: {fileID: 114176532703538896}
- component: {fileID: 992261166}
- component: {fileID: 2007864990}
- component: {fileID: 8452980845336696311}
- component: {fileID: 6005229055677503837}
m_Layer: 10
m_Name: FirstPersonCharacter
m_TagString: MainCamera
Expand Down Expand Up @@ -465,7 +465,7 @@ MonoBehaviour:
m_BeforeTransparentBundles: []
m_BeforeStackBundles: []
m_AfterStackBundles: []
--- !u!114 &8452980845336696311
--- !u!114 &6005229055677503837
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
Expand All @@ -474,9 +474,10 @@ MonoBehaviour:
m_GameObject: {fileID: 100002}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 68871f0bc5fb742138947ad4c5e73f7d, type: 3}
m_Script: {fileID: 11500000, guid: ef2c6204ab3bb40a6afb21bd364dbadc, type: 3}
m_Name:
m_EditorClassIdentifier:
distortionMat: {fileID: 0}
--- !u!1 &1340499340313870
GameObject:
m_ObjectHideFlags: 0
Expand Down

0 comments on commit 16ee936

Please sign in to comment.