public void RightCharacter()
 {
     Destroy(currentPrefab);
     characterIndex = moveRight(characterIndex);
     ShowCurrentPrefab();
     controller.SetCharacter(characterIndex);
 }
 void Start()
 {
     controller = (CharacterPathController)FindObjectOfType(typeof(CharacterPathController));
     map        = GetComponent <IndexToPrefab>();
     ShowCurrentPrefab();
     controller.SetCharacter(characterIndex);
 }