feat(promptlistloader): can send one prompt from editor

This commit is contained in:
Fangh 2024-02-08 21:54:06 +01:00
parent f73c197310
commit d00e688098

View File

@ -118,7 +118,6 @@ private void EraseFirestore(Action OnCleanComplete)
/// <summary>
/// Will add a prompt to the firestore
/// </summary>
[ContextMenu("Add Prompt To Firestore")]
private void AddPromptToFirestore(Prompt _prompt = null)
{
if (_prompt == null)
@ -138,6 +137,12 @@ private void AddPromptToFirestore(Prompt _prompt = null)
});
}
[ContextMenu("Add Prompt To Firestore")]
private void AddPromptToFirestore()
{
AddPromptToFirestore(addPrompt);
}
/// <summary>
///
/// </summary>