r2mods/ilspy_dump/ror2_csproj/RoR2/ArtifactFormulaDisplay.cs

29 lines
666 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using System;
using ThreeEyedGames;
using UnityEngine;
namespace RoR2;
public class ArtifactFormulaDisplay : MonoBehaviour
{
[Serializable]
public struct ArtifactCompoundDisplayInfo
{
public ArtifactCompoundDef artifactCompoundDef;
public Decal decal;
}
public ArtifactCompoundDisplayInfo[] artifactCompoundDisplayInfos;
private void Start()
{
ArtifactCompoundDisplayInfo[] array = artifactCompoundDisplayInfos;
for (int i = 0; i < array.Length; i++)
{
ArtifactCompoundDisplayInfo artifactCompoundDisplayInfo = array[i];
artifactCompoundDisplayInfo.decal.Material = artifactCompoundDisplayInfo.artifactCompoundDef.decalMaterial;
}
}
}