HeightOffset
How do I use Height Offset
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
47 | m_Height = HeightOffset; | 1 |
File name: PlayerDiamond.cs
Copy
45 void Start()
46 {
47 m_Height = HeightOffset;
48
49 if( HeadTransform != null )
50 {
51 m_Height += HeadTransform.position.y;
52 }
53 }
HeightOffset 111 lượt xem
Gõ tìm kiếm nhanh...