File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
com.unity.mobile.notifications/Runtime/iOS Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,28 @@ public struct iOSNotificationLocationTrigger : iOSNotificationTrigger
62
62
/// <summary>
63
63
/// The center point of the geographic area.
64
64
/// </summary>
65
- public Vector2 Center { get ; set ; }
65
+ public Vector2 Center
66
+ {
67
+ get
68
+ {
69
+ return new Vector2 ( ( float ) Latitude , ( float ) Longitude ) ;
70
+ }
71
+ set
72
+ {
73
+ Latitude = value . x ;
74
+ Longitude = value . y ;
75
+ }
76
+ }
77
+
78
+ /// <summary>
79
+ /// The latitude of the center point of the geographic area.
80
+ /// </summary>
81
+ public double Latitude { get ; set ; }
82
+
83
+ /// <summary>
84
+ /// The longitude of the center point of the geographic area.
85
+ /// </summary>
86
+ public double Longitude { get ; set ; }
66
87
67
88
/// <summary>
68
89
/// The radius (measured in meters) that defines the geographic area’s outer boundary.
You can’t perform that action at this time.
0 commit comments