Description of the issue: I’m trying to follow this tutorial about detecting planes. Inside the loop of AnchorsAdded function this line doesn’t work for me
gameObject.transform.localScale = anchor.Extent;
There is no variable or property named Extent according to my editor. What might I be doing wrong in this situation?
It looks like Extent is available on the IARPlaneAnchor subclass. The AnchorType == AnchorType.Plane test ensures you’re working with a plane anchor, so you might need to cast anchor to an IARPlaneAnchor.