Ejemplo n.º 1
0
    // 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");
    }
Ejemplo n.º 2
0
	// 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");

	}