Search found 358 matches

by hrohibil
Wed Dec 01, 2021 5:51 pm
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

This is what i get..



Line 25 is:

Code: Select all

progressText.text = Mathf.Clamp(SaveSystem.currentAsyncOperation.progress * 100f, 0f, 100f).ToString();
by hrohibil
Wed Dec 01, 2021 5:04 pm
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

Thank you for spending time on this one Toni.. I really appreciate it..

I thought it was easier to just show you a video..

by hrohibil
Wed Dec 01, 2021 3:09 pm
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

Sorry man..
I edited my post before yours , hoping that you would read the edit/update..

I did that already, and that did clear the error. But the value just stays at 0% while the bar moves correctly..

I out that script on the UI created text gameobject
by hrohibil
Wed Dec 01, 2021 12:19 pm
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

Thank you so much Toni. You go such a long way and extra... I hate to ask for help again, but i am getting a error on line 16. See image Thank you for the help EDIT: I did try to put a "ToString(); at the end, and that did clear the error. But play time showed nothing, It just stayed at 0 % htt...
by hrohibil
Wed Dec 01, 2021 9:53 am
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

The script was already on a gameobject with a slider. I just created the default unity UI slider and placed the script on the GO with the slider. Please see this short clip. I have two questions 1: The slider just waits a long time and then moves/jumps a long streak and then again. Like jaggy a bit,...
by hrohibil
Wed Dec 01, 2021 4:24 am
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

This is my settings, I out your script on the slider it self.



This is the error I am getting when clicking from main scene to a load game or new game etc....


It is this line 20 it says error on..
by hrohibil
Wed Dec 01, 2021 1:37 am
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

So on the loadingscreen scene. I created a slider and added your script to it. I play main scene and when i clik a load button or start new game it should transisition to the loading screen scene, but i gt a black screen with following error https://imgur.com/a/sHVfEsB I also created a UI text with ...
by hrohibil
Tue Nov 30, 2021 7:10 pm
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Re: Custom loading bar

Thank you so much Toni. I will test it out.

If I want a text percentage I can still use this right:

progressText.text = progress * 100f + "%";
by hrohibil
Tue Nov 30, 2021 5:09 pm
Forum: Dialogue System for Unity
Topic: Custom loading bar
Replies: 23
Views: 1794

Custom loading bar

Hey Toni From the doc if i want to use a custom loading screen, i basiclly just replaced the spinning flower logo with my own. I followed a tutorial and got to below code. How do i use or where exactly should this go "AsyncOperation PixelCrushers.SaveSystem.currentAsyncOperation" Here is m...
by hrohibil
Mon Nov 29, 2021 7:15 am
Forum: Dialogue System for Unity
Topic: QUEST SETUP
Replies: 22
Views: 2175

Re: QUEST SETUP

Aha..
I was missing the greatest than sign. Thought i could get away with just equal.

Where do you recommend to hook up a sound clip to when a quest is completed?

Thank you Toni