>>907
IPointer系のインターフェースを実装するといい詳しくはunity IPointerで検索