2025-09-08 17:37:12 +08:00

25 lines
413 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MianQian : MonoBehaviour
{
public Color before;
public Color after;
public Material material;
private void Start()
{
ChangeBefore();
}
public void ChangeBefore()
{
material.color = before;
}
public void ChangeAfter()
{
material.color= after;
}
}