void Awake() { if (Instance == null) Instance = this; else Destroy(this); if (nutCountText == null) Debug.Log("Nut count text not defined"); }
// Use this for initialization void Start () { landController = GetComponentInParent<LandingController>(); nutCollector = GetComponentInParent<NutCollector>(); }