This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///// SERVICE | |
import { Injectable } from '@nestjs/common'; | |
import * as Sentry from '@sentry/node'; | |
import config from '../../config'; | |
import { SentryEntry } from './sentry.interceptor'; | |
@Injectable() | |
export class SentryService { | |
private isInit = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Threading.Tasks; | |
using Sirenix.OdinInspector; | |
using UnityEditor; | |
using UnityEngine; | |
using Object = UnityEngine.Object; | |
public class AssetBundleObjectReference<T> where T : Object { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using AssetBundles; | |
using UnityEngine; | |
public class BundlesManager { | |
private static BundlesManager _instance; | |
private Dictionary<string, AssetBundle> _assetBundles; | |
private Dictionary<string, Task<AssetBundle>> _loadingAssetBundles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
question: 'Do you like polls ?’, | |
answers: [‘Oui’, ‘Non’] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
id: 1, | |
question: 'Do you like polls ?’, | |
answers: [ | |
{ | |
id: 124, | |
response: 'Oui’, | |
votes: 14 | |
}, | |
{ |