コード例 #1
0
        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
        }
コード例 #2
0
		private static void OnScriptsReloaded()
		{
			HEU_InputInterfaceTerrain inputInterface = new HEU_InputInterfaceTerrain();
			HEU_InputUtility.RegisterInputInterface(inputInterface);
		}