Modifier

Partager via


InteractableShaderTheme.GetFloat(GameObject, Int32) Method

Definition

Caution

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

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

Parameters

host
UnityEngine.GameObject
propId
Int32

Returns

Attributes

Applies to