Perhaps it’d be better to edit the OnSampleEnded method itself and only disable the DirectorGUI if isActive? I presume we still want to RestoreLayersActive and all the other stuff in that method?
1
2
3
4
5
voidOnSampleEnded(){
RestoreLayersActive();
if(isActive)DirectorGUI.current.enabled=false;
//etc...
}
What do you think?
Login
Register
By registering on this website you agree to our Privacy Policy.