title: Adding Firebase Admin SDK to Unity project
body: <p>I'm new to Unity as well as to C# (real noob to C# and all the .NET stuff) and I want to use the Firebase Realtime Database in my Unity project.
  I was following the instructions on the <a href="https://firebase.google.com/docs/database/unity/start" rel="nofollow noreferrer">Firebase docs</a> to set things up, but after I created a new p12 file and added <a href="https://firebase.google.com/docs/database/unity/start#optional_editor_setup_for_restricted_access" rel="nofollow noreferrer">this code</a> to my project</p>
  <pre><code>  void Start() {
      // Set these values before calling into the realtime database.
      FirebaseApp.DefaultInstance.SetEditorDatabaseUrl(&quot;https://YOUR-FIREBASE-APP.firebaseio.com/&quot;);
      FirebaseApp.DefaultInstance.SetEditorP12FileName(&quot;YOUR-FIREBASE-APP-P12.p12&quot;);
      FirebaseApp.DefaultInstance.SetEditorServiceAccountEmail(&quot;SERVICE-ACCOUNT-ID@YOUR-FIREBASE-APP.iam.gserviceaccount.com&quot;);
      FirebaseApp.DefaultInstance.SetEditorP12Password(&quot;notasecret&quot;);
    }
  </code></pre>
  <p>I got the following hint:</p>
  <blockquote>
  <p>Method 'Firebase.Unity.Editor.FirebaseEditorExtensions.SetEditorP12FileName' is obsolete: Service account in editor is no longer supported. Please use standard sign-in methods instead, ex. FirebaseAuth.SignInWithEmailAndPasswordAsync()</p>
  </blockquote>
  <p>This brought me to the <a href="https://firebase.google.com/docs/reference/unity/deprecated/deprecated" rel="nofollow noreferrer">Firebase Deprecated</a> page which says:</p>
  <p><a href="https://i.stack.imgur.com/ITJmh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ITJmh.png" alt="deprecation note" /></a></p>
  <p>Now I don't know how to add the Admin SDK to my Unity project. I can only find <a href="https://firebase.google.com/docs/admin/setup" rel="nofollow noreferrer">references</a> about how to add the Admin SDK to a server. But how can I add the Admin SDK to an Unity project?</p>