Progetto H — Riferimento API Documentazione & Scripting
Funzione statica Condiviso Veloce

Entity.IsChildOf

Indica se questa classe è figlia di un'altra, quando è stata creata con il <a href='/docs/core-concepts/scripting/inheriting-classes'>sistema di ereditarietà</a>
Mostra l'originale in inglese
Gets if this Class is child of another class if this Class was created with the <a href='/docs/core-concepts/scripting/inheriting-classes'>Inheriting System</a>

Sintassi

Lua
Entity.IsChildOf(class)

Parametri

Nome Tipo Predefinito Descrizione
class table L'altra classe da verificare

Valore restituito

  • boolean