// Use this for initialization void Start() { GameObject manuvererObject = GameObject.Find("Maneuverer"); if (!manuvererObject) Debug.LogWarning("Could not find Manuverer!"); maneuverer = manuvererObject.GetComponent<Maneuverer>(); }
// Use this for initialization void Start() { GameObject maneuvererObject = GameObject.Find("Maneuverer"); if (!maneuvererObject) Debug.LogWarning("Could not find Manuverer!"); maneuverer = maneuvererObject.GetComponent<Maneuverer>(); spawnMenu = GameObject.FindGameObjectWithTag("Spawn Menu"); if (!spawnMenu) Debug.LogWarning("Could not find spawn menu!"); }