Example #1
0
 void Start()
 {
     shooting = GetComponent <Shooting> ();
     CollectingUI.transform.parent.gameObject.SetActive(false);
     health     = GetComponent <Health> ();
     collect    = GetComponent <CollectSnow> ();
     healScript = GetComponent <HealSnowmanProximity>();
 }
Example #2
0
    //ActivateCannon active;

    // Use this for initialization
    void Start()
    {
        shooting    = GetComponent <Shooting> ();
        movement    = GetComponent <Movement> ();
        collectSnow = GetComponent <CollectSnow> ();
        collectFort = GetComponent <CollectSnowFort> ();
        aiming      = GetComponent <Aiming> ();
        rb          = GetComponent <Rigidbody>();
        heal        = GetComponent <HealSnowmanProximity>();
        //active = GetComponent<ActivateCannon> ();
    }