public ActiveAnchored(MarkerObject_CreateObjectsAtMarkers parent, GameObject targetobject) { parentManager = parent; gameObject = targetobject; positionStack = new CappedStack <Vector3>(parentManager.smoothedFrames); rotationStack = new CappedStack <Quaternion>(parentManager.smoothedFrames); }
private void Awake() { positionStack = new CappedStack <Vector3>(smoothedFrames); rotationStack = new CappedStack <Quaternion>(smoothedFrames); }