Exemplo n.º 1
0
    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> ();
    }