Esempio n. 1
0
    static string pathMarche = "event:/Deplacement/humain-herbe"; // chemin du son pour les bruits de pas

    // Use this for initialization
    void Start()
    {
        marche     = FMODUnity.RuntimeManager.CreateInstance("event:/Deplacement/humain-terre");
        marchedeja = false;
        //terre = false;
        FM_SonScript.changerTypeSol(TypeSol.Herbe);
    }
Esempio n. 2
0
 void OnTriggerExit2D(Collider2D other)
 {
     FM_SonScript.changerTypeSol(TypeSol.Herbe);
 }
Esempio n. 3
0
 void OnTriggerEnter2D(Collider2D other)
 {
     FM_SonScript.changerTypeSol(type);
 }