调用第二个脚本方法出错显示NULL

Grid.getInstance().Red

错误提示:
Uncaught TypeError: Cannot read property ‘Red’ of null