can't Edit ScrollRect script

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:

  1. Just inherit from ScrollRect and make your own
  2. Modify the source for the UI module and compile and use your own dll (see here: https://bitbucket.org/Unity-Technologies/ui)