8 lines
522 B
C#
8 lines
522 B
C#
//Attach this script as a component to every surface the player will be able to walk ontop of.
|
|
|
|
using UnityEngine;
|
|
|
|
public class FMODStudioMaterialSetter : MonoBehaviour
|
|
{
|
|
public int MaterialValue; // This value will represent that Material Type you set. It will be read by the 'FMODStudioFirstPersonFootsteps' script and set by us using a dropdown menu inside the inspector tab when interacting with this script attached to a surface. The dropdown menu will be created by the 'FMODStudioFootstepsEditor' script.
|
|
}
|