コード例 #1
0
            public CustomLogger()
            {
#if UNITY_EDITOR
                this.logger = new EditorLogger();
#elif UNITY_ANDROID
                this.logger = new AndroidLogger();
#elif UNITY_IOS
                this.logger = new IOSLogger();
#else
                this.logger = new CanvasLogger();
#endif
            }
コード例 #2
0
            public CustomLogger()
            {
#if UNITY_ANDROID
                this.logger = new AndroidLogger();
#elif UNITY_IOS
                this.logger = new IOSLogger();
#elif !UNITY_EDITOR
                this.logger = new CanvasLogger();
#else
                this.logger = new EditorLogger();
#endif
            }
コード例 #3
0
 static FacebookLogger()
 {
     FacebookLogger.Instance = new FacebookLogger.CustomLogger();
 }
コード例 #4
0
 public CustomLogger()
 {
     this.logger = new FacebookLogger.CanvasLogger();
 }