static void OnFaceAdded(FaceAddedEventArgs eventArgs) { if (s_FaceAdded != null) { s_FaceAdded(eventArgs); } }
void OnFaceAdded(FaceAddedEventArgs eventArgs) { var xrFace = eventArgs.xrFace; var face = AddFace(xrFace); face.xrFace = xrFace; if (faceAdded != null) { faceAdded(new ARFaceAddedEventArgs(face)); } }