InteractableShaderTheme.GetFloat(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
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