思考并回答以下问题:
- 类的static成员在堆中只有一份,所有实例共享这个成员。怎么理解?
Scripts/UI/Welcome.cs
1 | using UnityEngine; |
Scripts/Loading.cs
1 | using UnityEngine; |
Scripts/UI/Main.cs
1 | using UnityEngine; |
Enemy.cs
1 | using UnityEngine; |
专注,重复10遍
思考并回答以下问题:
Scripts/UI/Welcome.cs
1 | using UnityEngine; |
Scripts/Loading.cs
1 | using UnityEngine; |
Scripts/UI/Main.cs
1 | using UnityEngine; |
Enemy.cs
1 | using UnityEngine; |