public static ActionMovie CreateNew_Stop (VideoPlayer videoPlayer, bool pauseOnly = false)
{
ActionMovie newAction = CreateNew ();
newAction.movieClipType = MovieClipType.VideoPlayer;
newAction.movieMaterialMethod = (pauseOnly) ? MovieMaterialMethod.PauseMovie : MovieMaterialMethod.StopMovie;
return newAction;
}
not set the newAction's videoplayer , maybe there is a bug?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Yes, indeed - thanks for pointint it out.
You can fix it by inserting the following - I'll do the same as part of the next update: