void Start() { mask = LayerMask.GetMask("Plane"); bloodMgr = GameObject.Find("BloodMgr").GetComponent <BloodMgr>(); scoreUIMgr = GameObject.Find("ScoreUI").GetComponent <ScoreUIMgr> (); isFinishShoot = false; // set this to true everytime after shooting boomerang anim = GetComponentInChildren <PlayerAnimationController>(); boomerangFolder = GameObject.Find("boomerangFolder").transform; playerMove = GetComponent <PlayerMove> (); }