コード例 #1
0
 public void SendUpdate(List <string> cloudAnchorIdList)
 {
     for (i = 0; i < NUM_OF_ANCHOR; i++)
     {
         localCloudAnchorIdList[i] = cloudAnchorIdList[i];
         UpdateCloudAnchorIdEvent updateCloudAnchorId = UpdateCloudAnchorIdEvent.Create();
         updateCloudAnchorId.Index         = i;
         updateCloudAnchorId.CloudAnchorID = cloudAnchorIdList[i];
         updateCloudAnchorId.Send();
     }
 }
コード例 #2
0
 public override void OnEvent(UpdateCloudAnchorIdEvent evnt)
 {
     localCloudAnchorIdList[evnt.Index] = evnt.CloudAnchorID;
 }