Hi!
I was wondering if is posible to change the transition animations (Leave Scene Transition and Enter Scene Transition) from script PixelCrushers.StandardSceneTransitionManager.
I would like to use the transition system that the dialogue system brings, but I need different transitions in different scenes of the game.
Is it possible?
Change animation transition
Re: Change animation transition
Hi,
You can put a script in your scene that changes the transition manager in a Start() method or something like that. Example:
Or you can make a subclass of StandardSceneTransitionManager and override the LeaveScene() and/or EnterScene() coroutines.
You can put a script in your scene that changes the transition manager in a Start() method or something like that. Example:
Code: Select all
void Start()
{
var transitionManager = SaveSystem.sceneTransitionManager as StandardSceneTransitionManager;
transitionManager.loadingSceneName = "Dragon Cave Loading Screen";
}
Re: Change animation transition
I was going the wrong way! Many thanks for everything!
I find it incredible, I think that this is the best asset that exists!
I'll go with:
I find it incredible, I think that this is the best asset that exists!
I'll go with:
var transitionManager = SaveSystem.sceneTransitionManager as StandardSceneTransitionManager;
transitionManager.leaveSceneTransition.animator = myNewAnimatorTransition;
Re: Change animation transition
Thank you! Glad to help.