InteractableShaderTheme.GetColor(GameObject, Int32) Method

Definition

Caution

GetColor is no longer supported. Access the material block directly on the GameObject provided.

public:
 static UnityEngine::Color GetColor(UnityEngine::GameObject ^ host, int propId);
[System.Obsolete("GetColor is no longer supported. Access the material block directly on the GameObject provided.")]
public static UnityEngine.Color GetColor (UnityEngine.GameObject host, int propId);
[<System.Obsolete("GetColor is no longer supported. Access the material block directly on the GameObject provided.")>]
static member GetColor : UnityEngine.GameObject * int -> UnityEngine.Color
Public Shared Function GetColor (host As GameObject, propId As Integer) As Color

Parameters

host
UnityEngine.GameObject
propId
Int32

Returns

UnityEngine.Color
Attributes

Applies to