您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
29 行
607 B
29 行
607 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public struct MaterialParameterVariation
|
|
{
|
|
public string parameter;
|
|
|
|
public enum ParamType { Float, Bool, Int, Vector, Texture, Color }
|
|
public ParamType paramType;
|
|
|
|
public bool multi;
|
|
|
|
public bool b_Value;
|
|
public int i_Value;
|
|
public float f_Value;
|
|
public Vector4 v_Value;
|
|
public Color c_Value;
|
|
|
|
public int i_Value_Max;
|
|
public float f_Value_Max;
|
|
public Vector4 v_Value_Max;
|
|
public Color c_Value_Max;
|
|
|
|
public Texture t_Value;
|
|
|
|
public int count;
|
|
}
|