private void Start() { anim = GetComponent <Animator>(); boyGranadeThrow = GetComponent <BoyGranadeThrow>(); boyMovement = GetComponent <BoyMovement>(); myBody = GetComponent <Rigidbody2D>(); scoreControllerScript = ScoreControllerUtils.GetScoreController(); numberOfHits = 0; }
// Use this for initialization void Start() { boyScript = GetComponent <BoyGranadeThrow>(); }