Exemplo n.º 1
0
 public static CShapeWinBridge getInstance()
 {
     if (dbBridge == null)
     {
         dbBridge = new CShapeWinBridge();
     }
     return(dbBridge);
 }
Exemplo n.º 2
0
    public DBOSManager()
    {
        bridge = CShapeWinBridge.getInstance();

        #if !UNITY_MOBILE_LOCAL
        #if UNITY_ANDROID
        bridge = CShapeJavaBridge.getInstance();

        //BuglyAgent.PrintLog(LogSeverity.LogWarning, "Init bugly sdk done");
        #elif UNITY_IPHONE
        bridge = CShapeObjectCBridge.getInstance();
        #endif
        #endif
    }