43 lines
844 B
C#
43 lines
844 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
|
|
namespace UnityEngine.AzureSky
|
|
{
|
|
[Serializable]
|
|
public sealed class AzureOverrideProperty
|
|
{
|
|
[Serializable]
|
|
public sealed class OverridePropertySetup
|
|
{
|
|
public AzureOverrideType targetType;
|
|
|
|
public GameObject targetGameObject;
|
|
|
|
public Material targetMaterial;
|
|
|
|
public AzureShaderUpdateMode targetShaderUpdateMode;
|
|
|
|
public Component targetComponent;
|
|
|
|
public FieldInfo targetField;
|
|
|
|
public PropertyInfo targetProperty;
|
|
|
|
public int targetUniformID;
|
|
|
|
public float multiplier = 1f;
|
|
|
|
public string targetComponentName;
|
|
|
|
public string targetPropertyName;
|
|
}
|
|
|
|
public float floatOutput;
|
|
|
|
public Color colorOutput = Color.white;
|
|
|
|
public List<OverridePropertySetup> overridePropertySetupList = new List<OverridePropertySetup>();
|
|
}
|
|
}
|