Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

330
Visualizações
is transform a class or a property in Unity?

I am new to programming, could someone help me to understand it better. when I check the Unity Manual it shows that transform is a class in Unity Engine, but when I hold my mouse over a transform in c# code, it shows transform is a property of the component class, I mean the icon for the property is shown(small French). why it does not show class when the mouse is over it? any help or link to study is appreciated.

enter image description here

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Transform is a class in UnityEngine, each GameObject has one. .transform is a property of a MonoBehaviour, that returns a Transform instance associated with GameObject that current (this) MonoBehaviour has.

You can assume it is defined as (although in reality it is optimized and faster than that)

Transform transform {get { return GetComponent<Transform>(); }} 
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda