InteractableShaderTheme.GetColor(GameObject, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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