Skip to content

Commit

Permalink
Merge branch 'feature/3d-tiles-node-toggles' of https://github.com/Ne…
Browse files Browse the repository at this point in the history
…therlands3D/twin into feature/save-camera-position
  • Loading branch information
TomSimons committed Feb 13, 2025
2 parents 3f76cc7 + 6c97638 commit 5f54348
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 22 deletions.
21 changes: 21 additions & 0 deletions Assets/_Application/_Twin/RotateTowardsCamera.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Netherlands3D.Twin
{
public class RotateTowardsCamera : MonoBehaviour
{
private Camera camera;
private void Start()
{
camera = Camera.main;
}

void Update()
{
transform.LookAt(camera.transform.position);
}
}
}
11 changes: 11 additions & 0 deletions Assets/_Application/_Twin/RotateTowardsCamera.cs.meta

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

198 changes: 176 additions & 22 deletions Assets/_Functionalities/ObjectLibrary/Prefabs/POI.prefab

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

0 comments on commit 5f54348

Please sign in to comment.