Example #1
0
 private void OnInvalidPathError(FilePanelError error)
 {
     if (error == FilePanelError.InvalidPath)
     {
         SaveMessage?.Invoke(this, "Please select a Bonsai asset within the project's Asset folder.");
     }
 }
Example #2
0
 private void OnTreeCopied()
 {
     SaveMessage?.Invoke(this, "Tree Copied");
 }
Example #3
0
 private void OnLoadSuccess()
 {
     SaveMessage?.Invoke(this, "Tree loaded");
 }
Example #4
0
 private void OnLoadFailure()
 {
     SaveMessage?.Invoke(this, "Failed to load tree.");
 }