Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
public struct TerrainProperties { public int currentLevel; public bool isHorizontal; } TerrainProperties terrainProperties;
这是我的结构,我想创建一个指向子元素的指针,例如:
int* currentLevel = terrainProperties->currentLevel;
但我收到一个错误