Ejemplo n.º 1
0
    private Vector3 offset;         //Private variable to store the offset distance between the player and camera

    // Use this for initialization
    void Start()
    {
        //this.transform.localScale = new Vector3(1, 1, 1);
        //Calculate and store the offset value by getting the distance between the player's position and camera's position.
        // offset = transform.position - bossTr.transform.position;
        isBossScript = isBossScript.GetComponent <IA_Boss_01>();
    }