style: cleaning import

This commit is contained in:
Michel Roux 2024-01-27 20:05:24 +01:00
parent bb45f55ece
commit 94c3daa525
5 changed files with 9 additions and 7 deletions

View File

@ -1,8 +1,9 @@
using Newtonsoft.Json;
using System; using System;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
[Serializable] [Serializable]
[Newtonsoft.Json.JsonObject] [JsonObject]
public class Player public class Player
{ {
public string name; public string name;

View File

@ -1,9 +1,10 @@
using Firebase.Firestore; using Firebase.Firestore;
using Newtonsoft.Json;
using System; using System;
using UnityEngine; using UnityEngine;
[Serializable, FirestoreData] [Serializable, FirestoreData]
[Newtonsoft.Json.JsonObject] [JsonObject]
public class Prompt public class Prompt
{ {
[field: SerializeField] [field: SerializeField]

View File

@ -1,7 +1,8 @@
using Newtonsoft.Json;
using System; using System;
[Serializable] [Serializable]
[Newtonsoft.Json.JsonObject] [JsonObject]
public class Proposition public class Proposition
{ {
public string photoUrl; public string photoUrl;

View File

@ -1,7 +1,8 @@
using Newtonsoft.Json;
using System; using System;
[Serializable] [Serializable]
[Newtonsoft.Json.JsonObject] [JsonObject]
public class Question public class Question
{ {
public string promptId; public string promptId;

View File

@ -1,11 +1,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine;
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Collections;
[Serializable] [Serializable]
[Newtonsoft.Json.JsonObject] [JsonObject]
public class Room public class Room
{ {
public string code; public string code;