@@ -6,118 +6,118 @@ public NativeToolkitPlugin_Editor(string gameObjectName) : base(gameObjectName)
66
77 protected override void SetUp ( )
88 {
9- Debug . LogWarning ( " <b> WARNING </b>: You are running this plugin on Editor mode. Real recognition only works running on mobile device." ) ;
9+ Debug . LogWarning ( " <b> WARNING </b>: You are running this plugin on Editor mode. Real plugin only works running on mobile device." ) ;
1010 }
1111
1212 #region Features
1313 public override void SaveShotsOnGallery ( bool saveShotsOnGallery )
1414 {
15- throw new System . NotImplementedException ( ) ;
15+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
1616 }
1717
1818 public override void SaveShotsOnPrivateDirectory ( bool saveShotsOnPrivateDirectory )
1919 {
20- throw new System . NotImplementedException ( ) ;
20+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
2121 }
2222
2323 public override void TakeShot ( )
2424 {
25- throw new System . NotImplementedException ( ) ;
25+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
2626 }
2727
2828 public override void PickPhotoFromGallery ( )
2929 {
30- throw new System . NotImplementedException ( ) ;
30+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
3131 }
3232
3333 public override void ShowAlertDialog ( string message , string title )
3434 {
35- throw new System . NotImplementedException ( ) ;
35+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
3636 }
3737
3838 public override void ShowAlertDialog ( string message , string title , bool hasPositiveButton , bool hasNegativeButton , bool hasNeutralButton )
3939 {
40- throw new System . NotImplementedException ( ) ;
40+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
4141 }
4242
4343 public override void ShowDatePickerDialog ( )
4444 {
45- throw new System . NotImplementedException ( ) ;
45+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
4646 }
4747
4848 public override void ShowTimePickerDialog ( )
4949 {
50- throw new System . NotImplementedException ( ) ;
50+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
5151 }
5252
5353 public override void ShowRateAppDialog ( string message , string title )
5454 {
55- throw new System . NotImplementedException ( ) ;
55+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
5656 }
5757
5858 public override void ShowToast ( string message , int duration , int gravity , int xOffset , int yOffset )
5959 {
60- throw new System . NotImplementedException ( ) ;
60+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
6161 }
6262
6363 public override void ShowToast ( string message )
6464 {
65- throw new System . NotImplementedException ( ) ;
65+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
6666 }
6767
6868 public override void ShowToast ( string message , int duration )
6969 {
70- throw new System . NotImplementedException ( ) ;
70+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
7171 }
7272
7373 public override void PickContact ( )
7474 {
75- throw new System . NotImplementedException ( ) ;
75+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
7676 }
77-
77+
7878 public override void ShareText ( string title , string content )
7979 {
80- throw new System . NotImplementedException ( ) ;
80+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
8181 }
8282
8383 public override void ShareImage ( string title , string uriContentString )
8484 {
85- throw new System . NotImplementedException ( ) ;
85+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
8686 }
8787
8888 public override void StartListening ( )
8989 {
90- throw new System . NotImplementedException ( ) ;
90+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
9191 }
9292
9393 public override void SetContinuousListening ( bool isContinuous )
9494 {
95- throw new System . NotImplementedException ( ) ;
95+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
9696 }
9797
9898 public override void Speak ( string textToSpeak )
9999 {
100- throw new System . NotImplementedException ( ) ;
100+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
101101 }
102102
103103 public override void SetLanguage ( string language )
104104 {
105- throw new System . NotImplementedException ( ) ;
105+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
106106 }
107107
108108 public override void SetLanguage ( string language , string country )
109109 {
110- throw new System . NotImplementedException ( ) ;
110+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
111111 }
112112
113113 public override void Speak ( string textToSpeak , string language )
114114 {
115- throw new System . NotImplementedException ( ) ;
115+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
116116 }
117117
118118 public override void Speak ( string textToSpeak , string language , string country )
119119 {
120- throw new System . NotImplementedException ( ) ;
120+ Debug . LogWarning ( " <b> WARNING </b>: You are trying one feature of the plugin on Editor mode. Real features only work running on mobile device." ) ;
121121 }
122122 #endregion
123123}
0 commit comments