CharacterMusicSystem.TeleportSound C# (CSharp) Méthode

TeleportSound() public méthode

public TeleportSound ( Direction, direction ) : void
direction Direction,
Résultat 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);
	}