hey i have script with following code on an object
1
2
3
publicvoidbegin(){
Debug.Log("SSS");
}
I also enable script property “run in edit mode” in SLATE editor for object
After that i use Events Track event to send message. No matter what i type in it doesn’t work
i tried:
begin
“begin”
begin()
The “Send Message” action clip of Events Track only works in play mode.
If you really want the SendMessage to work in edit mode, although I don’t recommend doing it, let me know and I can add an option for that.
Thanks.
reason i wanted in edit mode was because im not making a cutscene for a game, im making a cartoon which ill record into MP4 later.
More specifically, im trying to make a sprite move along a path AND bop up and down a little like in South Park.
I know Slate has Action to move along a path, and at same time i wanted to call function in script to make sprite bop up and down.
But maybe i can make a simple custom action to do that instead of having it in a script, so its ok i don’t need that feature for now thanks!
Thanks for letting me know of the use case.
It’s nice to know that you are making a non-game animation with Slate 🙂
If you need any help, or have any questions/suggestions, just let me know.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.