CharacterMusicSystem.TeleportSound C# (CSharp) 메소드

TeleportSound() 공개 메소드

public TeleportSound ( Direction, direction ) : void
direction Direction,
리턴 void
	public void TeleportSound(Direction direction){
		Note firstNote = activeNote;
		Note secondNote = CheckNoteFromNextPlatform (direction);
		print("From: " + firstNote + " to: " + secondNote);
	//	teleport.PlayOneShot (noteToMelody [activeNote] [UnityEngine.Random.Range (0, noteToMelody [activeNote].Length)], teleport.volume);
		teleport.PlayOneShot (teleports [firstNote] [(int)secondNote], teleport.volume / 2);
	}