Ejemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        displacement = Camera.main.GetComponent <DisplacementBehaviour>();

        cStartPos = displacement.transform.position;
        oStartPos = oceanTransform.position;
    }
Ejemplo n.º 2
0
 void Start()
 {
     _displacement = Camera.main.GetComponent <DisplacementBehaviour>();
 }