Inheritance: MonoBehaviour
示例#1
0
 private void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
     }
 }
示例#2
0
文件: HudSystem.cs 项目: xdrie/Sor
 public HudSystem(Wing player, Entity hudNt)
 {
     this.player     = player;
     energyIndicator = hudNt.GetComponent <EnergyIndicator>();
 }