Skip to main content

MerchantUI.SetMerchantColor

Declaration#

public void SetMerchantColor(Color color)

Parameters#

NameDescription
colorColor to set

Description#

Set the merchant's color

Usage#

Example
using NullSave.GDTK;using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(MerchantUI target)    {        target.SetMerchantColor(Color.blue);    }}

Declaration#

public void SetMerchantColor(string color)

Parameters#

NameDescription
colorColor to set

Description#

Set the merchant's color

Usage#

Example
using NullSave.GDTK;using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(MerchantUI target)    {        target.SetMerchantColor("#ffff00");    }}