TemplateTools Does Not Exist in the Current Context?
Posted: Tue Nov 28, 2023 4:36 pm
Hello again,
I've been trying to figure this out on my own, but I'm afraid I don't know enough about scripting to make any further progress. I'm trying to to add variables to my dialogue database at edit time, and I'm following your instructions in this post: https://www.pixelcrushers.com/phpbb/vie ... 3&t=5556&p - However, I'm getting the error that "TemplateTools does not exist in the current context." This error is in both visual studio and in Unity.
Tested on 2020.3.48f1 and 2022.3.14f1 with Dialogue System 2.2.41.1
I was also wondering how to use the line EditorTools.FindInitialDatabase() - EditorTools exists (deprecated in 2022, is now ToolManager), but vs/unity can't find FindInitialDatabase().
I checked and I do have the script TemplateTools, and it's a public static class in the PixelCrushers.Dialogue namespace (I am using the namespace), but I still can't reference it in other scripts. I'm very lost.
I would appreciate any help, thank you!
I've been trying to figure this out on my own, but I'm afraid I don't know enough about scripting to make any further progress. I'm trying to to add variables to my dialogue database at edit time, and I'm following your instructions in this post: https://www.pixelcrushers.com/phpbb/vie ... 3&t=5556&p - However, I'm getting the error that "TemplateTools does not exist in the current context." This error is in both visual studio and in Unity.
Tested on 2020.3.48f1 and 2022.3.14f1 with Dialogue System 2.2.41.1
I was also wondering how to use the line EditorTools.FindInitialDatabase() - EditorTools exists (deprecated in 2022, is now ToolManager), but vs/unity can't find FindInitialDatabase().
I checked and I do have the script TemplateTools, and it's a public static class in the PixelCrushers.Dialogue namespace (I am using the namespace), but I still can't reference it in other scripts. I'm very lost.
I would appreciate any help, thank you!