コンテンツにスキップ

Method Binding Diagnostics

コンパイル可能な確認用サンプルは method-binding-smoke.sobakasu です。

on interact() {
Foo.Bar();
}

Expected diagnostic: SBK2002

on interact() {
Debug.NoSuchMethod();
}

Expected diagnostic: SBK2003

on interact() {
Debug.Log();
}

Expected diagnostic: SBK2004

on interact() {
Debug.Log([1]);
}

Expected diagnostic: SBK2013