예제 #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_InputInterfaceMesh inputInterface = new HEU_InputInterfaceMesh();
			HEU_InputUtility.RegisterInputInterface(inputInterface);
		}
예제 #3
0
		/// <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);
		}