2026-06-17 스타터킷,툰셰이더,오른손
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
using UnityEngine.Rendering;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
namespace UnityEngine.XR.Interaction.Toolkit.Samples.StarterAssets
|
||||
namespace XR.Interaction.Toolkit.Samples
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[InitializeOnLoad]
|
||||
@@ -52,10 +53,10 @@ public class ShaderContainer
|
||||
|
||||
/// <summary>
|
||||
/// Scriptable object that allows for setting the shader on a material based on the current render pipeline.
|
||||
/// Will run automatically OnEnable in the editor to set the shaders on project boot up. Can be refreshed manually with editor button.
|
||||
/// Will run automatically OnEnable in the editor to set the shaders on project bootup. Can be refreshed manually with editor button.
|
||||
/// This exists because while objects render correctly using shadergraph shaders, others do not and using the standard shader resolves various rendering issues.
|
||||
/// </summary>
|
||||
[CreateAssetMenu(fileName = "MaterialPipelineHandler", menuName = "XR/Material Pipeline Handler", order = 0)]
|
||||
[CreateAssetMenu(fileName = "MaterialPipelineHandler", menuName = "XR/MaterialPipelineHandler", order = 0)]
|
||||
public class MaterialPipelineHandler : ScriptableObject
|
||||
{
|
||||
[SerializeField]
|
||||
|
||||
Reference in New Issue
Block a user