// Use this for initialization void Start() { jaw = (CrocJaw)lowerJaw.GetComponent("CrocJaw"); startPos = transform.position; targetPos = startPos + new Vector3(0.0f, riseBy, 0.0f); duck = GameObject.Find("Duck"); }
// Use this for initialization void Start () { jaw = (CrocJaw) lowerJaw.GetComponent("CrocJaw"); startPos = transform.position; targetPos = startPos + new Vector3(0.0f, riseBy, 0.0f); duck = GameObject.Find("Duck"); }