コード例 #1
0
    public void Initialize(int type)
    {
        if (_bGoogleAPI == null)
        {
#if UNITY_EDITOR
            Debug.LogError("Call Setup First !!");
#endif
        }

        switch (type)
        {
        case 1:
            _type      = eCloudType.bCloudDrive;
            _bDriveAPI = new bDropboxAPI();
            break;

        case 2:
            _type = eCloudType.GoogleDrive;
            break;

        case 3:
            _type      = eCloudType.bCloudDrive;
            _bDriveAPI = new bLocalDriveAPI();
            break;
        }
    }
コード例 #2
0
  public void Initialize(int type){
        if (_bGoogleAPI == null) {
#if UNITY_EDITOR
            Debug.LogError("Call Setup First !!");
#endif
        }

        switch (type) {
		case 1:
				_type = eCloudType.bCloudDrive;
				_bDriveAPI = new bDropboxAPI ();
                break;
            case 2:
                _type = eCloudType.GoogleDrive;
                break;
            case 3:
                _type = eCloudType.bCloudDrive;
				 _bDriveAPI = new bLocalDriveAPI();
                break;
        }
    }