示例#1
0
 void Start()
 {
     bd = FindObjectOfType <BatteryDisplay> ();
 }
示例#2
0
 void Awake()
 {
     batteryDisplay = GetComponent <BatteryDisplay> ();
     lives          = GetComponent <Lives> ();
     UpdateRemainingTime();
 }