Skip to content

Commit

Permalink
Oncamera change for initial pass
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Nov 21, 2024
1 parent 3adfffc commit c55873f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions unity/Assets/Scripts/AgentManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,6 @@ void Start() {
// gets initialized
var instance = Manager.Instance;

//Why is Rendering manager not in cloudrendering?

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

// Camera camera = this.primaryAgent.gameObject.GetComponentInChildren<Camera>();
// camera.targetTexture = createRenderTexture(Screen.width, Screen.height);
#endif
Expand Down
1 change: 1 addition & 0 deletions unity/Assets/Scripts/RenderingManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ void Awake() {
this.mainPass
}.ToDictionary(x => x.GetName(), x => x);
mainPass.OnInitialize(camera);
mainPass.OnCameraChange(camera);
// this.enabled = true;
}

Expand Down

0 comments on commit c55873f

Please sign in to comment.