diff --git a/Editor/TopiScriptedImporter.cs b/Editor/TopiScriptedImporter.cs index 137b804..e3e4bff 100644 --- a/Editor/TopiScriptedImporter.cs +++ b/Editor/TopiScriptedImporter.cs @@ -38,7 +38,7 @@ public override void OnImportAsset(AssetImportContext ctx) // var boughs = ByteCode - var identifier = $"{fileName}b"; + var identifier = $"{fileName}.byte"; var compiledAsset = ScriptableObject.CreateInstance(); compiledAsset.name = identifier; compiledAsset.bytes = compiled; diff --git a/README.md b/README.md index 44b6f79..970b2d8 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ public class DialogueRunner : MonoBehaviour ## Setup -Any `.topi` file will automatically be compiled and a subasset will be created with the `.topib` bytecode. +Any `.topi` file will automatically be compiled and a subasset will be created with the `.topi.byte` bytecode. Once your file is compiled it will automatically be added to a Topiary addressables group with the labels `Topiary` and `Topi`.