Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

328
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!