InteractableColorTheme.HasTextComponentOnObject(GameObject) Method

Definition

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

Applies to