Notepad
Workflow
Functional notepad app which supports essential notepad features, including editing and creating.
Notepad app depends on its manager and note items. Notes can be added directly by selecting the ‘Notepad Manager’ component – which is attached to the app window.
![](https://docs.michsky.com/wp-content/uploads/2022/01/image_2023-07-05_000700583-1024x532.png)
Save Custom Notes
It is possible to save user-generated custom notes at runtime. You can select the ‘Notepad Manager’ component, open the settings tab, and enable the ‘Save Custom Notes’ option. Afterwards, make sure to add and assign the ‘Notepad Storing’ component.
![](https://docs.michsky.com/wp-content/uploads/2022/01/image_2023-07-05_001112621.png)
Scripting
using UnityEngine;
using Michsky.DreamOS; // DreamOS namespace
public class SampleClass : MonoBehaviour
{
[SerializeField] private NotepadManager notepadApp; // Notepad app
void YourFunction()
{
// Open note by index
notepadApp.OpenNote(noteIndex);
// Open note by ID
notepadApp.OpenNote("Note ID");
// Open custom note
notepadApp.OpenCustomNote("Title", "Note content");
// Delete note by index
notepadApp.DeleteNote(noteIndex);
// Delete note by ID
notepadApp.DeleteNote("Note ID");
// Hide or show the viewer
notepadApp.ShowViewer();
notepadApp.HideViewer();
}
}
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.