ASLObjectSendAndSetAnchorID Method |
Namespace: ASL
void SomeFunction() { //Claim the object first gameobject.GetComponent<ASL.ASLObject>().SendAndSetClaim(() => { //Send and then set (=) the id of the AR Anchor you want this object to have. Note that the object does not move to this scale until //it receives the packet from the server, even though it is the caller of this function. gameobject.GetComponent<ASL.ASLObject>().SendAndSetAnchorID("Your Anchor id Here"); }); }