// Use this for initialization void Start() { playingSound = false; platformScript = GetComponentInParent<Zmovement> (); target = GetComponent<StudioEventEmitter> (); platformTrans = transform.parent; }
// Use this for initialization void Start() { playingSound = false; platformScript = GetComponentInParent <Zmovement> (); target = GetComponent <StudioEventEmitter> (); platformTrans = transform.parent; }