Esempio n. 1
0
    void Start()
    {
        db = GameObject.Find("Database").GetComponent <game_data_base>();
        zombie_manager tmp = GetComponent <zombie_manager>();

        ref_zombie = tmp.stats;
        target     = get_target();
    }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     db = GameObject.Find("game_data_base").GetComponent <game_data_base>();
     l  = GetComponent <Light>();
 }
Esempio n. 3
0
 private void Awake()
 {
     db  = GameObject.Find("Database").GetComponent <game_data_base>();
     dot = GetComponent <dot_manager>();
 }
Esempio n. 4
0
 // Use this for initialization
 void Start()
 {
     g_db           = GameObject.Find("Database").GetComponent <game_data_base>();
     zombie_list    = g_db.zombie_list;
     get_time_spawn = g_db.get_time_spawn_zombie;
 }