Amitr
December 11, 2016, 5:44pm
1
Hi, i want to edit The ScrollRect Script. I want to call other stuff in my project when it is start Scrolling.
but i can’t. when i press “edit script” on the ScrollRect component my IDE (xamarin mac) Is no showing any script, white page.
Is this intentional ? Is there a way to edit that script ?
Thnanks
ScrollRect is defined in the UnityEngine.UI module. So, it is a scripted class, but exists in a dll so is not editable in that way. You need to either:
Just inherit from ScrollRect and make your own
Modify the source for the UI module and compile and use your own dll (see here: https://bitbucket.org/Unity-Technologies/ui )