Inheritance: MonoBehaviour
コード例 #1
0
ファイル: NoteHelperTests.cs プロジェクト: sagamors/Tuner
 public void NoteFinderTest()
 {
     NoteFactory noteFactory = new NoteFactory();
     NoteFinder noteFinder = new NoteFinder(noteFactory);
     INote note = noteFactory.CreateNote(enote, octave);
     var actual = noteFinder.FindNearestNote(110);
     Assert.AreEqual(actual, note);
 }
コード例 #2
0
ファイル: NoteFinder.cs プロジェクト: 9/Shrednought
 void Awake()
 {
     S = this;
 }