>>117
http://www.cho-design-lab.com/2013/08/18/unity-reference-other-script/
MonoBehaviour継承してないとか?