Beispiel #1
0
    void OnEnable()
    {
        //originalPos = objectTransform.localPosition;

        heightScript = GetComponent <TriggerShift> ();
        camScript    = Camera.main.GetComponent <CameraShake> ();
    }
    void OnEnable()
    {
        //originalPos = objectTransform.localPosition;

        heightScript = GetComponent<TriggerShift> ();
        camScript = Camera.main.GetComponent<CameraShake> ();
    }