InteractableColorTheme.HasTextComponentOnObject(GameObject) 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.
Looks to see if a text component exists on the host
public:
static bool HasTextComponentOnObject(UnityEngine::GameObject ^ host);
public static bool HasTextComponentOnObject (UnityEngine.GameObject host);
static member HasTextComponentOnObject : UnityEngine.GameObject -> bool
Public Shared Function HasTextComponentOnObject (host As GameObject) As Boolean
Parameters
- host
- UnityEngine.GameObject
GameObject to test
Returns
true if host is not null and contains a text-type component, false otherwise