void Awake()
 {
     Instance = this;
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     Hpin = GetComponent <Hp> ();
     lvl  = GetComponent <AI_Level> ();
 }