private void Start() { anim = GetComponent <Animator>(); boyGranadeThrow = GetComponent <BoyGranadeThrow>(); boyMovement = GetComponent <BoyMovement>(); myBody = GetComponent <Rigidbody2D>(); scoreControllerScript = ScoreControllerUtils.GetScoreController(); numberOfHits = 0; }
void Start() { canvasOverlay = GameObject.Find(overlaySceneControllerName).GetComponent <HideOverlayCanvas>(); scoreControllerScript = ScoreControllerUtils.GetScoreController(); }
void Start() { scoreControllerScript = ScoreControllerUtils.GetScoreController(); witchDeathSound = GameObject.Find(witchDeathSoundController).GetComponent <AudioSource>(); santaLaught = GameObject.Find(santaLaughtSound).GetComponent <AudioSource>(); }
void Awake() { ScoreControllerUtils.InitObjects(); ResetCount(); scoreComponent.text = "0"; }
void Start() { scoreControllerScript = ScoreControllerUtils.GetScoreController(); }