public UnityARUserAnchorData AddUserAnchorFromGameObject(GameObject go)
        {
#if !UNITY_EDITOR && UNITY_IOS
            UnityARUserAnchorData data = AddUserAnchor(UnityARUserAnchorData.UnityARUserAnchorDataFromGameObject(go));
            return(data);
#else
            return(new UnityARUserAnchorData());
#endif
        }
Example #2
0
 public UnityARUserAnchorData AddUserAnchorFromGameObject(GameObject go)
 {
     return(AddUserAnchor(UnityARUserAnchorData.UnityARUserAnchorDataFromGameObject(go)));
 }