Closed yosun closed 4 years ago
This particular sample exists because someone specifically asked how to do this. This is just sample code; you can modify it as you see fit in your own usage.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug For performance issues,
plane.gameObject.SetActive(value);
should be replaced withhttps://github.com/Unity-Technologies/arfoundation-samples/blob/2.1/Assets/Scripts/PlaneDetectionController.cs#L57
To Reproduce See https://github.com/Unity-Technologies/arfoundation-samples/blob/2.1/Assets/Scripts/PlaneDetectionController.cs#L57