- Home /
scroll automatically problem
scrollview = GUI.BeginScrollView (Rect (0,0,Screen.width, Screen.height * (1.09/6.3)),scrollview, Rect (0, 0, 420,400)); GUI.Box(Rect(.3,.01,Screen.width,Screen.height*(1.5/6.3)),"\t\tYour group owns a pet store."); GUI.ScrollTo(Rect (0,i,100,20));
bb = 0;
GUI.EndScrollView ();
function Update() { if(bb == 0) { i+= 0.2; }
}
my need is i want to scroll the 20 line text in the GUI.Box IN vertical direction automatically in upward direction after all text is scrolled in upward direction it should come to nomal postion where user can use normal scroll button to scroll upward and down ward direction to read it
here i cannot able yo use GUI.ScrollTo i want to scroll text upward direction automatically when the scene load after the automatically scroll is over i want use normal mouse to scroll upward and downward direction here $$anonymous$$cher is $$anonymous$$ching a class student when $$anonymous$$cher $$anonymous$$ch the text should run automatically in upward direction without using mouse after the whole text goes up the text should come to normal postion so that user can use mouse to move text upward and downward direction it is urgently needed any help for this i have put sample code above
@robert Please do NOT use the moderator button just because you want an answer to your question. It is not what it is for! You may want to make your question clearer if you want to increase the chance that other people reply. You did not write what you are having problems with or what exactly you need help with that your script didn't already do.
here i cannot able yo use GUI.ScrollTo i want to scroll text upward direction automatically when the scene load after the automatically scroll is over i want use normal mouse to scroll upward and downward direction here $$anonymous$$cher is $$anonymous$$ching a class student when $$anonymous$$cher $$anonymous$$ch the text should run automatically in upward direction without using mouse after the whole text goes up the text should come to normal postion so that user can use mouse to move text upward and downward direction it is urgently needed any help for this i need it urently for a project any help is welcomed i tried a lot not ge