private static void OnScriptsReloaded() { HEU_InputInterfaceTerrain inputInterface = new HEU_InputInterfaceTerrain(); HEU_InputUtility.RegisterInputInterface(inputInterface); #if UNITY_2019_2_OR_NEWER // Make sure that the default terrain material is always included in the build HEU_AssetDatabase.AddAlwaysIncludedShader("Nature/Terrain/Diffuse"); #endif }
private static void OnScriptsReloaded() { HEU_InputInterfaceMesh inputInterface = new HEU_InputInterfaceMesh(); HEU_InputUtility.RegisterInputInterface(inputInterface); }
/// <summary> /// Register this interface class with HEU_InputUtility /// so that it will be used on input gameobjects /// </summary> public void RegisterInterface() { HEU_InputUtility.RegisterInputInterface(this); }