There’s a Cutscene.SetLayersActive(). I understood that function but…
That activates all disabled GameObjects for another purpose if layer is same.
I need some GameObjects be disabled even a Cutscene is playing
For example, I create some of monster GameObjects that disabled.
And I’ll showa cutscene that a Boss Intro.
Then I’ll turn on the monters.
Currently I can’t do this with SLATE.
1. This has been fixed in the new version submitted. There is a check now to enable/disable the ActiveLayers. It was bad of me not doing this in the first place.
2. In the next version Undo will be much better and elaborate.
3. I will take a look at this and post back to you as soon as possible about it.
4. Alright. I will see it done. I suppose you are referring to vertical zoom only, since horizontal zoom is fixed on the width of the inspector anyways 🙂
You are welcome 🙂
So, regarding linear fog, it’s simply a matter of adding these lines of code in the existing AnimateFog.cs script.
But please do this only after you update to the new version that is going to go live anytime now, as to avoid losing work when you update since updating will overwrite the files.
1
2
3
4
5
6
7
8
9
10
11
12
13
[AnimatableParameter]
publicfloatlinearFogStartDistance{
get{returnRenderSettings.fogStartDistance;}
set{RenderSettings.fogStartDistance=value;}
}
[AnimatableParameter]
publicfloatlinearFogEndDistance{
get{returnRenderSettings.fogEndDistance;}
set{RenderSettings.fogEndDistance=value;}
}
This change will be included in the yet next version I submit.
Cheers!
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.