feat(promptlistloader): can send one prompt from editor
This commit is contained in:
parent
f73c197310
commit
d00e688098
@ -118,7 +118,6 @@ private void EraseFirestore(Action OnCleanComplete)
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Will add a prompt to the firestore
|
/// Will add a prompt to the firestore
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ContextMenu("Add Prompt To Firestore")]
|
|
||||||
private void AddPromptToFirestore(Prompt _prompt = null)
|
private void AddPromptToFirestore(Prompt _prompt = null)
|
||||||
{
|
{
|
||||||
if (_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>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user