mirror of
https://github.com/Mukheem/TwinTurbine.git
synced 2025-05-12 20:10:35 +02:00
Added count to anchors to see how many are present
This commit is contained in:
parent
9b2e3c850c
commit
2a186d71ca
Assets
@ -14,7 +14,7 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
targetDeviceTypes: 030000000200000004000000
|
||||
allowOptional3DofHeadTracking: 0
|
||||
handTrackingSupport: 1
|
||||
handTrackingSupport: 0
|
||||
handTrackingFrequency: 0
|
||||
handTrackingVersion: 2
|
||||
anchorSupport: 1
|
||||
|
@ -122,7 +122,8 @@ public class SharedAnchorControlPanel : MonoBehaviour
|
||||
return;
|
||||
|
||||
SampleController.Instance.Log("Anchors Fetched.");
|
||||
SampleController.Instance.Log(anchors.ToString());
|
||||
SampleController.Instance.Log(anchors.Count.ToString());
|
||||
SampleController.Instance.Log(anchors[0].ToString());
|
||||
// access anchor data by retrieving the components
|
||||
var room = anchors.First();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user