| // Copyright (c) Meta Platforms, Inc. and affiliates. | |
| using Meta.XR.Samples; | |
| using UnityEngine; | |
| namespace NorthStar | |
| { | |
| [] | |
| public class DontDestroy : MonoBehaviour | |
| { | |
| private void Awake() | |
| { | |
| DontDestroyOnLoad(gameObject); | |
| } | |
| } | |
| } | |
| // Copyright (c) Meta Platforms, Inc. and affiliates. | |
| using Meta.XR.Samples; | |
| using UnityEngine; | |
| namespace NorthStar | |
| { | |
| [] | |
| public class DontDestroy : MonoBehaviour | |
| { | |
| private void Awake() | |
| { | |
| DontDestroyOnLoad(gameObject); | |
| } | |
| } | |
| } | |