// Use this for initialization void Awake() { weaponsDb = GetComponent <GoogleFu.Weapons> (); if (weaponsDb == null) { Debug.LogWarning("Weapon DB not found. Make sure you have run GoogleFU import."); } ImportWeapons(); }