Hi,
yes that works, but you are aware this is not working when you build right? this is only during editing time.
Bye,
Jean
I had no idea.
I went back to that half-project and tried to build it and, oh boy...
Not only that wouldn't work (I trust it wouldn't) but I also couldn't build due to a build error on WriteToFile action that outputs a:
Assets/PlayMaker Custom Actions/Files/WriteToFile.cs(56,17): error CS0103: The name `AssetDatabase' does not exist in the current context
https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/Assets/PlayMaker%20Custom%20Actions/Files/WriteToFile.csI'm a bit loss with this, I recon.
EDIT 1: So, I removed the WriteToFile action from my project, created a new scene and added nothing but a gui text (actually, a gui textmeshpro) that would update it's text with that "application path" action I posted above.
the result (after Build and Run) was (unexpectedly) correct (scrnsht added). Is that weird?
(note: the build was indeed built to that path minus the "*_Data\" ofc)
EDIT 2: So, the ecosystem WriteToFile.cs seems to be all good, with exception that it does not create new files. Because of that I was/am using a modification of that action that I got here (bottom of thread):
https://hutonggames.com/playmakerforum/index.php?topic=18245.0Well, that action seems to be working fine in editor but can't build it (due to the error pointed above).
So... I'm even more lost now.
Should I start another thread for this WriteToFile issue?