// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2020-12-17
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
//
//
// ***********************************************************************
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace G
{
///
/// 类功能描述
///
public static class MaterialExtensions
{
public static Color GetTintColor(this Material material)
{
return material.GetColor("_TintColor");
}
public static void SetTintColor(this Material material, Color value)
{
material.SetColor("_TintColor", value);
}
}
}