C# Class Transit.Framework.MaterialExtensions

显示文件 Open project: Katalyst6/CSL.TransitAddonMod

Public Methods

Method Description
ModifyTexture ( this material, string propertyName, Texture2D newTexture ) : void

Method Details

ModifyTexture() public static method

public static ModifyTexture ( this material, string propertyName, Texture2D newTexture ) : void
material this
propertyName string
newTexture UnityEngine.Texture2D
return void